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

FlyoutCommand Class

Provides buttons for FlyoutAction objects.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

public class FlyoutCommand :
    ICommand<Flyout>,
    ICommand<IContentContainer>

The following members accept/return FlyoutCommand objects:

Remarks

Flyouts use FlyoutAction objects to display buttons. These buttons are stored in the FlyoutAction.Commands collection. The FlyoutCommand class allows you to add both standard (OK, Cancel, Retry etc) and custom buttons to FlyoutActions.


myFlyoutAction.Commands.AddRange(new FlyoutCommand[] {FlyoutCommand.OK, FlyoutCommand.Cancel});

To add a custom button, create your own FlyoutCommand class descendant and override the required properties. See the How To: Create a Message Box Flyout With User Control topic for anexample.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FlyoutCommand class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
FlyoutCommand
See Also