A button-like manipulator.
The following tables list the members exposed by the Button type.
Name | Description | |
---|---|---|
Initializes a new instance of the Button class. |
Name | Description | |
---|---|---|
Gets or sets the bounds of this manipulator, relative to its parent, expressed as percentages. |
||
Gets or sets the background brush of the button when it is in normal state. |
||
Gets or sets the background brush of the button when it is in hovered state. |
||
Gets or sets the background brush of the button when it is in pressed state. |
||
Gets or sets a value indicating whether this manipulator can receive input focus. (Inherited from Manipulator.) |
||
Gets or sets the font of the button text. |
||
Gets or sets the image associated with the button. |
||
Gets or sets the alignment of the button image. |
||
Gets or sets a list with images. Each image in the list represents the appearance of the button in one of its states: 0 - normal, 1 - pressed, 2 - disabled, 3 - hovered. |
||
Gets or sets a value indicating whether this manipulator is enabled and can be interacted with. (Inherited from Manipulator.) |
||
Gets the target item of this manipulator. is attached to. (Inherited from Manipulator.) |
||
Gets or sets a value indicating the distance between the button border and its contents. |
||
Gets or sets the border pen of the button when it is in normal state. |
||
Gets or sets the border pen of the button when it is in hovered state. |
||
Gets or sets the border pen of the button when it is in pressed state. |
||
Gets or sets the text of the button. |
||
Gets or sets the color of the button text. |
||
Gets or sets the layout properties of the button text. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the manipulator currently holds the input focus. (Inherited from Manipulator.) |
||
Gets the current state of the button. |
Name | Description | |
---|---|---|
Manipulator.AddToRepaintRect override. |
||
Calls OnClick with argument transformed to local coordinates if necessary. (Inherited from Manipulator.) |
||
Called when the manipulator should cancel the current manipulation. (Inherited from Manipulator.) |
||
Manipulator.Draw override. |
||
Returns whether the manipulator object draws in local or global coordinates. (Inherited from Manipulator.) |
||
Manipulator.HitTest override. |
||
Manipulator.NeedsMouseMessages override. |
||
Manipulator.HitTest override. |
||
Manipulator.OnGotFocus override. |
||
Manipulator.OnKeyDown override. |
||
Called when a character key is pressed when this manipulator has the input focus. (Inherited from Manipulator.) |
||
Manipulator.OnLostFocus override. |
||
Manipulator.OnMouseDown override. |
||
Manipulator.OnMouseMove override. |
||
Manipulator.OnMouseUp override. |
||
Called when the zoom factor in the diagram containing the manipulator has changed. (Inherited from Manipulator.) |
||
Returns the cursor that should be displayed when the mouse pointer is over this manipulator. (Inherited from Manipulator.) |
||
Manipulator.SupportClipping override. |
Name | Description | |
---|---|---|
Gets the absolute bounding rectangle of this manipulator. |
||
Gets the image from the button's image list corresponding to the current state of the button. |
||
Invalidates the appearance of the manipulator. |
||
Raises the Clicked event. |
||
Raises the CustomDraw event. |
||
Manipulator.OnIsEnabledChanged override. |
Name | Description | |
---|---|---|
Raised when the button is clicked. |
||
Raised when the button is drawn to allow for custom drawing. |