ComponentOne DockControl for WPF
C1.WPF.Docking Namespace / C1DockWindow Class / DialogResult Property

In This Topic
    DialogResult Property (C1DockWindow)
    In This Topic
    Gets or sets the dialog result for the window.
    Syntax
    'Declaration
     
    Public Property DialogResult As MessageBoxResult
    public MessageBoxResult DialogResult {get; set;}
    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