Skip to main content
A newer version of this page is available. .

FlyoutCommand(Func<Boolean>, Action) Constructor

Initializes a new FlyoutCommand class instance with specific settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v19.2.dll

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