Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public FlyoutCommand(
    Predicate<Flyout> canExecute,
    Action<Flyout> execute
)

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