Skip to main content

FlyoutDialog.Show(Form, String, Control, MessageBoxButtons, MessageBoxDefaultButton) Method

Displays a FlyoutDialog with specific settings.

Namespace: DevExpress.XtraBars.Docking2010.Customization

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public static DialogResult Show(
    Form owner,
    string caption,
    Control flyoutControl,
    MessageBoxButtons buttons,
    MessageBoxDefaultButton defaultButton
)

Parameters

Name Type Description
owner Form

A Form that owns this FlyoutDialog.

caption String

A String value that is the FlyoutDialog caption.

flyoutControl Control

A Control displayed within this FlyoutDialog.

buttons MessageBoxButtons

A MessageBoxButtons enumerator value that specifies what buttons this FlyoutDialog will display.

defaultButton MessageBoxDefaultButton

A MessageBoxDefaultButton enumeration value that specifies which FlyoutDialog button is the default one. A default button is considered as clicked when end-users press the Enter key as the FlyoutDialog pops up.

Returns

Type Description
DialogResult

A DialogResult enumeration value that this FlyoutDialog returns when closed.

See Also