Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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