Skip to main content

XtraBaseArgs Members

Exposes members common to dialogs and message boxes, whose event arguments derive from this class.

Constructors

Name Description
XtraBaseArgs(UserLookAndFeel, IWin32Window, String, DialogResult[], Int32, DefaultBoolean, MessageBeepSound) Initializes a new instance of the XtraBaseArgs class with the specified settings.

Properties

Name Description
AllowHtmlText Gets or sets whether the shown object supports HTML-inspired Text Formatting.
AllowTrimCaption Gets or sets whether the XtraDialog or XtraMessageBox trims the caption to accommodate the contents.
AutoCloseOptions Provides access to settings that allow the shown object (XtraMessageBox, XtraInputBox, etc.) to automatically close after a certain delay.
ButtonAlignment Gets or sets the alignment mode for buttons of this dialog or message.
ButtonPadding Gets or sets the padding for buttons of this message or dialog.
Buttons Gets or sets buttons that the shown object (XtraMessageBox, XtraInputBox, etc.) has.
Caption Gets or sets the shown object (XtraMessageBox, XtraInputBox, etc.) caption.
ContentPadding Gets or sets the distance between the dialog (message box) content and borders.
DefaultButtonIndex Gets 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).
HtmlImages Gets or sets ImageCollection or SvgImageCollection. XtraMessageBox can display images from this collection.
HtmlTemplate Returns the HTML-CSS template applied to this message or dialog.
LookAndFeel Gets or sets the LookAndFeel object applied to the owner.
MessageBeepSound Gets or sets the system sound played when the owner appears on-screen.
Owner Gets or sets the owner of this XtraBaseArgs object.

Methods

Name Description
Equals(Object, Object) static Determines 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() Serves as the default hash function. Inherited from Object.
GetLookAndFeel() Returns the owner LookAndFeel object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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

Name Description
HtmlElementMouseClick Occurs when a user clicks any element within an HTML template.
HtmlElementMouseDown Occurs when a mouse button is pressed, and the mouse pointer is over an HTML element.
HtmlElementMouseMove Occurs when a mouse pointer moves while over an element of an HTML-CSS template.
HtmlElementMouseOut Occurs when a mouse pointer leaves the bounds of an element within an HTML-CSS template.
HtmlElementMouseOver Occurs when a mouse pointer enters the bounds of an element within an HTML-CSS template.
HtmlElementMouseUp Occurs when a mouse button pressed over an element of an HTML-CSS template is released.
Showing Provides access to a Form embedded into a shown object.
See Also