Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FlyoutCommand Class

Provides buttons for FlyoutAction objects.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

The following members 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.

#Inheritance

Object
FlyoutCommand
See Also