FlyoutCommand(Predicate<Flyout>, Action<Flyout>) Constructor

Initializes a new instance of the FlyoutCommand class with the specified settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

public FlyoutCommand(
    Predicate<Flyout> canExecute,
    Action<Flyout> execute
)
Public Sub New(
    canExecute As Predicate(Of Flyout),
    execute As Action(Of Flyout)
)

Parameters

Name Type Description
canExecute Predicate<Flyout>

A method that defines the set of criteria and checks whether the current FlyoutCommand meets these criteria.

execute Action<Flyout>

A method that implements the FlyoutCommand's functionality.

Remarks

See the FlyoutCommand.CanExecute and FlyoutCommand.Execute properties to learn more.

See Also