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

FlyoutAction(DialogResult[], MessageBoxDefaultButton) Constructor

Initializes a new instance of the FlyoutAction class and allows you to specify which FlyoutAction button should act as a default button.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public FlyoutAction(
    DialogResult[] commands,
    MessageBoxDefaultButton defaultButton
)

Parameters

Name Type Description
commands DialogResult[]

A DialogResult array that specifies buttons displayed by this FlyoutAction.

defaultButton MessageBoxDefaultButton

A System.Windows.Forms.MessageBoxDefaultButton enumeration value that specifies which of the FlyoutAction buttons should act as a default button. This button will be “clicked” when a user presses Enter key to dismiss this FlyoutAction.

See Also