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, FlyoutAction, FlyoutProperties, Predicate<DialogResult>) Method

Displays a FlyoutDialog with a flyout action and a specific control within, using specific properties and a related 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,
    FlyoutAction action,
    FlyoutProperties parameters,
    Predicate<DialogResult> canClose
)

#Parameters

Name Type Description
owner Form

A Form that owns the FlyoutDialog.

flyoutControl Control

A Control displayed within this FlyoutDialog.

action FlyoutAction

A FlyoutAction object assigned to 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 enumeration value returned from the FlyoutDialog after it was closed.

#Remarks

If you pass a Control and a FlyoutAction to the FlyoutDialog.Show method, the FlyoutAction‘s caption and buttons are displayed while the description and image are hidden.

See Also