Skip to main content

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

Displays a FlyoutDialog object that displays a specific control and has the related predicate function.

Namespace: DevExpress.XtraBars.Docking2010.Customization

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Parameters

Name Type Description
owner Form

A Form that owns this FlyoutDialog.

flyoutControl Control

A Control displayed within 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 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