Skip to main content

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

Displays a FlyoutDialog that has an assigned flyout action and predicate function.

Namespace: DevExpress.XtraBars.Docking2010.Customization

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public static DialogResult Show(
    Form owner,
    FlyoutAction action,
    Predicate<DialogResult> canClose
)

Parameters

Name Type Description
owner Form

A Form that owns this FlyoutDialog.

action FlyoutAction

A FlyoutAction object assigned to 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

Type Description
DialogResult

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

See Also