Skip to main content
A newer version of this page is available. .

XtraBaseArgs Members

Provides 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
ButtonPadding
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.
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
Showing Provides access to a Form embedded into a shown object.
See Also