Back to Devexpress

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

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-customization-dot-flyoutdialog-dot-show-x28-system-dot-windows-dot-forms-dot-form-system-dot-windows-dot-forms-dot-control-system-dot-predicate-system-dot-windows-dot-forms-dot-dialogresult-x29.md

latest2.8 KB
Original Source

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

Displays a FlyoutDialog with a specific control within and related to a predicate function.

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,
    Predicate<DialogResult> canClose
)
vb
Public Shared Function Show(
    owner As Form,
    flyoutControl As Control,
    canClose As Predicate(Of DialogResult)
) As DialogResult

Parameters

NameTypeDescription
ownerForm

A Form that owns this FlyoutDialog.

| | flyoutControl | Control |

A Control displayed within this FlyoutDialog.

| | canClose | Predicate<DialogResult> |

A Predicate function that checks whether this FlyoutDialog can currently be closed. End-users cannot close the FlyoutDialog until this function returns true.

|

Returns

TypeDescription
DialogResult

A DialogResult enumerator value that is the value returned from the FlyoutDialog after it is closed.

|

See Also

FlyoutDialog Class

FlyoutDialog Members

DevExpress.XtraBars.Docking2010.Customization Namespace