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


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


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.


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

See Also