Skip to main content

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.v24.2.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