Skip to main content

XtraBaseArgs(UserLookAndFeel, IWin32Window, String, DialogResult[], Int32, DefaultBoolean, MessageBeepSound) Constructor

Initializes a new instance of the XtraBaseArgs class with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public XtraBaseArgs(
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    string caption,
    DialogResult[] buttons,
    int defaultButtonIndex,
    DefaultBoolean allowHtmlText,
    MessageBeepSound beep
)

Parameters

Name Type Description
lookAndFeel UserLookAndFeel

A UserLookAndFeel object that should be applied to the owner.

owner IWin32Window

The window that owns this XtraBaseArgs object.

caption String

The owner caption.

buttons DialogResult[]

Buttons displayed by the owner.

defaultButtonIndex Int32

The index of the default owner button. The default button is focused when the owner shows on-screen. Additionally, if the AutoClose settings are specified, this button will be considered as clicked when the timer expires.

allowHtmlText DefaultBoolean

Specifies whether the owner supports HTML-inspired Text Formatting.

beep DevExpress.XtraEditors.MessageBeepSound

The system sound played when the owner is shown on-screen.

See Also