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.v20.2.dll

Declaration

public FlyoutAction(
    DialogResult[] commands,
    MessageBoxDefaultButton defaultButton
)
Public Sub New(
    commands As DialogResult(),
    defaultButton As MessageBoxDefaultButton
)

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