Back to Devexpress

Flyout.FlyoutButtons Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-flyout-5527decc.md

latest4.0 KB
Original Source

Flyout.FlyoutButtons Property

Gets or sets buttons displayed within the current Flyout.

Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
public MessageBoxButtons? FlyoutButtons { get; set; }
vb
<DefaultValue(Nothing)>
Public Property FlyoutButtons As MessageBoxButtons?

Property Value

TypeDefaultDescription
Nullable<MessageBoxButtons>null

A MessageBoxButtons enumerator value that specifies the buttons displayed within the current Flyout.

|

Remarks

Flyouts can display buttons in two ways:

Note

If both you specify both of these properties, two button sets will be displayed simultaneosly.

If you used the WindowsUIView.ActivateContainer method to display a Flyout, handle the WindowsUIView.FlyoutHidden event and get the FlyoutResultEventArgs.Result property value to determine which button an end-user has clicked. The WindowsUIView.ShowFlyoutDialog method returns a DialogResult value so you can get the clicked button at once.

See Also

Commands

ActivateContainer(IContentContainer)

FlyoutHidden

ShowFlyoutDialog(Flyout)

How To: Create a Message Box Flyout With User Control

Flyout Class

Flyout Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace