Skip to main content

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.v24.2.dll

Declaration

public static DialogResult Show(
    Form owner,
    Control flyoutControl,
    Predicate<DialogResult> canClose
)

Parameters

Name Type Description
owner Form

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

Type Description
DialogResult

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

See Also