XtraMessageBoxArgs(UserLookAndFeel, IWin32Window, String, String, DialogResult[], Icon, Int32, DefaultBoolean, MessageBeepSound) Constructor
Initializes a new XtraMessageBoxArgs class instance.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public XtraMessageBoxArgs(
UserLookAndFeel lookAndFeel = null,
IWin32Window owner = null,
string text = null,
string caption = null,
DialogResult[] buttons = null,
Icon icon = null,
int defaultButtonIndex = 0,
DefaultBoolean allowHtmlText = DefaultBoolean.Default,
MessageBeepSound beep = MessageBeepSound.None
)
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
look |
User |
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. |
text | String | null | The text in the message box. |
caption | String | null | The text in the title bar. |
buttons | Dialog |
null | An array of Dialog |
icon | Icon | null | The icon in the title bar. |
default |
Int32 | 0 | An integer value that specifies the default button’s index in the buttons array. |
allow |
Default |
Default | True to parse HTML tags; False to display the plain text; Default to use the static (Shared in VB) Xtra |
beep | DevExpress. |
None | A value that specifies the system sound played when the input box is shown. |