Represents a button UI component.
The following tables list the members exposed by the ButtonComponent type.
Name | Description | |
---|---|---|
Initializes a new instance of the ButtonComponent class. |
Name | Description | |
---|---|---|
Raised when the user clicks on this button. |
||
Gets or sets the Component displayed inside this border. |
||
Raised to let you custom-draw button graphics. |
||
Gets or sets the padding space between this border and its Content. |
Name | Description | |
---|---|---|
Component.Arrange override. Sets the location and size of this button relatively to its parent. |
||
Component.CreateController override. Returns a controller used to interact with this button. |
||
Component.Draw override. Draws this button in specified RenderContext. |
||
Component.Measure override. Measures the desired size of this button. |
||
Raises the Clicked event. |
||
Raises the CustomDraw event. |