XtraDialogArgs(UserLookAndFeel, IWin32Window, Control, String, DialogResult[], Int32, DefaultBoolean, MessageBeepSound) Constructor
Initializes a new XtraDialogArgs class instance.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
public XtraDialogArgs(
UserLookAndFeel lookAndFeel = null,
IWin32Window owner = null,
Control content = null,
string caption = null,
DialogResult[] buttons = null,
int defaultButtonIndex = 0,
DefaultBoolean allowHtmlText = DefaultBoolean.Default,
MessageBeepSound beep = MessageBeepSound.None
)
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
lookAndFeel | UserLookAndFeel | null | An object that specifies look and feel settings. |
owner | IWin32Window | null | An IWin32Window object that provides look and feel settings for the dialog box. |
content | Control | null | A Control object that specifies the dialog box content. |
caption | String | null | The text in the title bar. |
buttons | DialogResult[] | null | An array of DialogResult values that specifies which buttons to display in the input box. |
defaultButtonIndex | Int32 | 0 | An integer value that specifies the default button’s index in the buttons array. |
allowHtmlText | DefaultBoolean | Default | True to parse HTML tags; False to display the plain text; Default to use the static (Shared in VB) XtraMessageBox.AllowHtmlText property. |
beep | DevExpress.XtraEditors.MessageBeepSound | None | A value that specifies the system sound played when the input box is shown. |