AlertButton Members
Represents a button within an alert window.Constructors
Name | Description |
---|---|
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
Name | Description |
---|---|
Bounds | Gets or sets the bounds of the button. |
Down | Gets 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). |
Hint | Gets or sets the button’s hint. |
Image | Gets or sets an image displayed within the button |
ImageDown | Gets or sets an image displayed when the current button functions as a check button and it’s in the pressed state. |
ImageDownIndex | Gets 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. |
ImageIndex | Gets or sets the index of an image in the AlertControl.Images collection, referring to the image displayed by the button. |
ImageOptions | Provides access to settings that allow you to set up raster and vector icons for this AlertButton. |
Images | Gets the source of images for buttons in alert windows. |
Name | Gets or sets the button’s name. |
Owner | Gets the alert window that displays the current button. |
Predefined | Gets whether the current button is one of the predefined buttons (Close, Pin or Dropdown). |
State | Gets or sets the button’s state. |
Style | Gets or sets the button’s style. |
Visible | Gets or sets the button’s visibility. |
Methods
Name | Description |
---|---|
Dispose() | Disposes of the current object and releases all the allocated resources. |
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. |
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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
OnClick() | The method is called when the button is clicked. |
ReferenceEquals(Object, Object) static | Determines 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