ComponentOne FinancialChart for WPF
DialogResult Property



C1.WPF Namespace > C1Window Class : DialogResult Property
Gets or sets the dialog result for the window.
Syntax
'Declaration
 
Public Property DialogResult As MessageBoxResult
'Usage
 
Dim instance As C1Window
Dim value As MessageBoxResult
 
instance.DialogResult = value
 
value = instance.DialogResult
public MessageBoxResult DialogResult {get; set;}
public:
property MessageBoxResult DialogResult {
   MessageBoxResult get();
   void set (    MessageBoxResult value);
}
Remarks
Setting this property to a value other than "None" automatically closes the window. Clicking the "Close" button on the window caption bar sets DialogResult to System.Windows.MessageBoxResult.Cancel and then closes the window.
See Also

Reference

C1Window Class
C1Window Members