Back to Devexpress

AlertButton Members

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertbutton-dot-underscore-members.md

latest6.9 KB
Original Source

AlertButton Members

Represents a button within an alert window.

Constructors

NameDescription
AlertButton()Initializes a new instance of the AlertButton class.
AlertButton(Image, AlertButtonStyle)Initializes a new instance of the AlertButton class with the specified image and button style.
AlertButton(Image)Initializes a new instance of the AlertButton class with the specified image.

Properties

NameDescription
BoundsGets or sets the bounds of the button.
DownGets or sets the pressed state of the button, This option is in effect when the button functions as a check button (the AlertButton.Style property is set to AlertButtonStyle.CheckButton).
HintGets or sets the button’s hint.
ImageGets or sets an image displayed within the button. This property is obsolete. Use the AlertButton.ImageOptions.Image property instead.
ImageDownGets or sets an image displayed when the current button functions as a check button and it’s in the pressed state. This property is obsolete. Use the AlertButton.ImageOptions.ImageDown property instead.
ImageDownIndexGets or sets the index of an image in the AlertControl.Images collection, referring to the image displayed when the button functions as a check button and it’s in the pressed state. This property is obsolete. Use the AlertButton.ImageOptions.ImageDownIndex property instead.
ImageIndexGets or sets the index of an image in the AlertControl.Images collection, referring to the image displayed by the button. This property is obsolete. Use the AlertButton.ImageOptions.ImageIndex property instead.
ImageOptionsProvides access to settings that allow you to set up raster and vector icons for this AlertButton.
ImagesGets the source of images for buttons in alert windows.
NameGets or sets the button’s name.
OwnerGets the alert window that displays the current button.
PredefinedGets whether the current button is one of the predefined buttons (Close, Pin or Dropdown).
StateGets or sets the button’s state.
StyleGets or sets the button’s style.
VisibleGets or sets the button’s visibility.

Methods

NameDescription
Dispose()Disposes of the current object and releases all the allocated resources.
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.
GetButtonSize()Returns the button’s size.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
OnClick()The method is called when the button is clicked.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
SetDown(Boolean)Emulates changing a button’s check state, as if the button were clicked by the mouse.
SetOwner(AlertFormCore)This member supports the internal infrastructure, and is not intended to be used directly from your code.
ToString()Returns the textual representation of the button.

See Also

AlertButton Class

DevExpress.XtraBars.Alerter Namespace