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

FlyoutCommand(Func<Boolean>, Action) Constructor

In This Article

Initializes a new FlyoutCommand class instance with specific settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public FlyoutCommand(
    Func<bool> canExecute,
    Action execute
)

#Parameters

Name Type Description
canExecute Func<Boolean>

A Boolean function that performs required checks when the FlyoutCommand is clicked. Triggers the execute function upon completion.

execute Action

A Function that performs required actions if the canExecute function returned true.

See Also