You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Both WinForm and WPF expose DialogResult as a public property, user can set it in advance instead of relying on Close(object result) method.
This will allow windows return a proper result even close from CaptionButtons.
Describe the solution you'd like
Expose DialogResult as a public property, if user close it directly with close method or from UI CaptionButtons, it returns this result. If User call Close(result), the result will be automatically assigned to this property and return.
Describe alternatives you've considered
No
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Both WinForm and WPF expose
DialogResult
as a public property, user can set it in advance instead of relying onClose(object result)
method.This will allow windows return a proper result even close from CaptionButtons.
Describe the solution you'd like
Expose DialogResult as a public property, if user close it directly with close method or from UI CaptionButtons, it returns this result. If User call
Close(result)
, the result will be automatically assigned to this property and return.Describe alternatives you've considered
No
Additional context
No response
The text was updated successfully, but these errors were encountered: