Skip to main content

FlyoutCommand(Func<Boolean>, Action) Constructor

Initializes a new FlyoutCommand class instance with specific settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public FlyoutCommand(
    Func<bool> canExecute,
    Action execute


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