Skip to main content

FlyoutResultEventArgs.Result Property

Gets or sets the returned result after a Flyout is closed.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public DialogResult Result { get; set; }

Property Value

Type Description
DialogResult

A DialogResult value that specifies the returned result after a Flyout is closed.

Remarks

You can use the Result property when handling the WindowsUIView.FlyoutHidden event to get the Flyout button an end-user has clicked.

private void windowsUIView1_FlyoutHidden(object sender, FlyoutResultEventArgs e) {
     if (e.Result == System.Windows.Forms.DialogResult.OK) . . .;
     else . . .;
 }

Use this approach for non-modal message box Flyouts displayed via the WindowsUIView.ActivateContainer method (see How To: Create a Message Box Flyout With User Control). To display a modal message box Flyout, use the WindowsUIView.ShowFlyoutDialog method that returns a DialogResult value.

See Also