Back to Devexpress

FlyoutDialog.Show(Form, Control, FlyoutAction, FlyoutProperties, Predicate<DialogResult>, Boolean) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-customization-dot-flyoutdialog-dot-show-x28-form-control-flyoutaction-flyoutproperties-predicate-dialogresult-boolean-x29.md

latest4.8 KB
Original Source

FlyoutDialog.Show(Form, Control, FlyoutAction, FlyoutProperties, Predicate<DialogResult>, Boolean) Method

Shows this FlyoutDialog with the specific parameters set.

Namespace : DevExpress.XtraBars.Docking2010.Customization

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static DialogResult Show(
    Form owner,
    Control flyoutControl,
    FlyoutAction action,
    FlyoutProperties parameters,
    Predicate<DialogResult> canClose,
    bool useControlBackColor
)
vb
Public Shared Function Show(
    owner As Form,
    flyoutControl As Control,
    action As FlyoutAction,
    parameters As FlyoutProperties,
    canClose As Predicate(Of DialogResult),
    useControlBackColor As Boolean
) As DialogResult

Parameters

NameTypeDescription
ownerForm

A Form that owns this FlyoutDialog.

| | flyoutControl | Control |

A Control displayed within this FlyoutDialog.

| | action | FlyoutAction |

A FlyoutAction assigned to this FlyoutDialog.

| | parameters | DevExpress.XtraBars.Docking2010.Views.WindowsUI.FlyoutProperties |

A FlyoutProperties object that stores advanced FlyoutDialog settings.

| | canClose | Predicate<DialogResult> |

A Predicate function that checks the DialogResult value, returned by this FlyoutDialog and depending on this, determines whether or not this FlyoutDialog can currently be closed. End-users cannot close the FlyoutDialog until this function returns true.

| | useControlBackColor | Boolean |

true if the FlyoutDialog should use the same background color as the flyoutControl assigned; otherwise, false.

|

Returns

TypeDescription
DialogResult

A DialogResult enumerator value that specifies the way this FlyoutDialog is closed.

|

Remarks

If you pass a Control and a FlyoutAction to the FlyoutDialog.Show method, the FlyoutAction‘s caption and buttons are displayed while the description and image are hidden.

See Also

FlyoutDialog Class

FlyoutDialog Members

DevExpress.XtraBars.Docking2010.Customization Namespace