FlyoutCommand(Func<Boolean>, Action) Constructor

Initializes a new FlyoutCommand class instance with specific settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.2.dll


public FlyoutCommand(
    Func<bool> canExecute,
    Action execute
Public Sub New(
    canExecute As Func(Of Boolean),
    execute As Action


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