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

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