Back to Devexpress

XtraMessageBoxArgs Members

windowsforms-devexpress-dot-xtraeditors-dot-xtramessageboxargs-dot-underscore-members.md

latest12.9 KB
Original Source

XtraMessageBoxArgs Members

Arguments that should be passed to the Show(XtraMessageBoxArgs) method to customize the shown XtraMessageBox.

Constructors

NameDescription
XtraMessageBoxArgs(UserLookAndFeel, IWin32Window, String, String, DialogResult[], Icon, Int32, DefaultBoolean, MessageBeepSound)Initializes a new XtraMessageBoxArgs class instance.
XtraMessageBoxArgs(IWin32Window, String, String, DialogResult[], Icon, Int32)Initializes a new XtraMessageBoxArgs class instance.

Properties

NameDescription
AllowHtmlTextGets or sets whether the shown object supports HTML-inspired Text Formatting. Inherited from XtraBaseArgs.
AllowTrimCaptionGets or sets whether the XtraDialog or XtraMessageBox trims the caption to accommodate the contents. Inherited from XtraBaseArgs.
AppearanceGets a new instance of the AppearanceObject class.
AutoCloseOptionsProvides access to settings that allow the shown object (XtraMessageBox, XtraInputBox, etc.) to automatically close after a certain delay. Inherited from XtraBaseArgs.
ButtonAlignmentGets or sets the alignment mode for buttons of this dialog or message. Inherited from XtraBaseArgs.
ButtonPaddingGets or sets the padding for buttons of this message or dialog. Inherited from XtraBaseArgs.
ButtonsGets or sets buttons that the shown object (XtraMessageBox, XtraInputBox, etc.) has. Inherited from XtraBaseArgs.
CaptionGets or sets the shown object (XtraMessageBox, XtraInputBox, etc.) caption. Inherited from XtraBaseArgs.
ContentPaddingGets or sets the distance between the dialog (message box) content and borders. Inherited from XtraBaseArgs.
DefaultButtonIndexGets or sets the index of a button from the Buttons collection that is a default button. A default button is initially focused and is considered clicked when user presses Enter or the auto-close timer expires (see AutoCloseOptions). Inherited from XtraBaseArgs.
DoNotShowAgainCheckBoxPaddingGets or sets padding for the “Do not show this message again” checkbox.
DoNotShowAgainCheckBoxTextGets or sets the text displayed next to the “Do not show this message again” checkbox.
DoNotShowAgainCheckBoxVisibleGets or sets whether the “Do not show this message again” checkbox is shown in an XtraMessageBox.
GdiRenderedTextGets or sets whether to use GDI+ to render strings. For internal use.
HtmlImagesGets or sets ImageCollection or SvgImageCollection. XtraMessageBox can display images from this collection. Inherited from XtraBaseArgs.
HtmlTemplateReturns the HTML-CSS template applied to this message or dialog. Inherited from XtraBaseArgs.
IconUse the XtraMessageBoxArgs.ImageOptions property to display an image in a message box.
IconPaddingGets or sets padding for an XtraMessageBox icon.
ImageOptionsGets image-related properties of an XtraMessageBox.
LookAndFeelGets or sets the LookAndFeel object applied to the owner. Inherited from XtraBaseArgs.
MessageBeepSoundGets or sets the system sound played when the owner appears on-screen. Inherited from XtraBaseArgs.
OwnerGets or sets the owner of this XtraBaseArgs object. Inherited from XtraBaseArgs.
RegistryKeyGets or sets a registry key used to store the Visible and DialogResult property values in the registry.
RegistryPathGets or sets a registry path used to store the Visible and DialogResult property values in the registry.
TextGets or sets the message box text.
TextPaddingGets or sets text padding within an XtraMessageBox.
UseGdiPlusTextPainterGets or sets whether to use GDI+ to render strings.
UseSkinPaddingsGets or sets whether message boxes that utilize this XtraMessageBoxArgs object should retrieve content paddings from the current DevExpress skin.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()For internal use.
GetLookAndFeel()Returns the owner LookAndFeel object. Inherited from XtraBaseArgs.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
ClosedOccurs when an XtraMessageBox closes.
HtmlElementMouseClickOccurs when a user clicks any element within an HTML template. Inherited from XtraBaseArgs.
HtmlElementMouseDownOccurs when a mouse button is pressed, and the mouse pointer is over an HTML element. Inherited from XtraBaseArgs.
HtmlElementMouseMoveOccurs when a mouse pointer moves while over an element of an HTML-CSS template. Inherited from XtraBaseArgs.
HtmlElementMouseOutOccurs when a mouse pointer leaves the bounds of an element within an HTML-CSS template. Inherited from XtraBaseArgs.
HtmlElementMouseOverOccurs when a mouse pointer enters the bounds of an element within an HTML-CSS template. Inherited from XtraBaseArgs.
HtmlElementMouseUpOccurs when a mouse button pressed over an element of an HTML-CSS template is released. Inherited from XtraBaseArgs.
HyperlinkClickFires when a hyperlink is clicked.
LoadOccurs before an XtraMessageBox is created.
ShowingProvides access to a Form embedded into a shown object. Inherited from XtraBaseArgs.

See Also

XtraMessageBoxArgs Class

DevExpress.XtraEditors Namespace