Represents a button-like component, which can respond to user clicks.
The following tables list the members exposed by the ButtonComponent type.
Name | Description | |
---|---|---|
Initializes a new instance of the ButtonComponent class. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the component is defined as a property on the client side. (Inherited from ComponentBase.) |
||
Gets or sets the calculated bounds of this component relative to its parent. (Inherited from ComponentBase.) |
||
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. |
||
ComponentBase.ChildCount override. (Inherited from ContentComponent.) |
||
Gets or sets the content of this component. (Inherited from ContentComponent.) |
||
Gets or sets a value indicating whether the component can receive the input focus. (Inherited from ComponentBase.) |
||
Gets or sets the index of the grid column this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.) |
||
Gets or sets the index of the grid row this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.) |
||
Gets or sets the explicit height of this component or float.NaN to auto-size the component. (Inherited from ComponentBase.) |
||
Gets or sets the horizontal alignment of this component relative to its parent. (Inherited from ComponentBase.) |
||
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 the component is enabled. (Inherited from ComponentBase.) |
||
Gets or sets a value indicating whether this component currently holds the input focus. (Inherited from ComponentBase.) |
||
Gets or sets a value indicating whether this component and all its children are subject to hit-testing operations. (Inherited from ComponentBase.) |
||
Gets or sets a value indicating whether this component can be interacted with. (Inherited from ComponentBase.) |
||
Gets or sets the name of the component. (Inherited from ComponentBase.) |
||
Gets or sets the padding around this component's content. (Inherited from ContentComponent.) |
||
Gets the parent component, if the current component is hosted. (Inherited from ComponentBase.) |
||
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 type of the button. |
||
Gets or sets the vertical alignment of this component relative to its parent. (Inherited from ComponentBase.) |
||
Gets or sets a value indicating whether the component is visible. (Inherited from ComponentBase.) |
||
Gets or sets the explicit width of this component or float.NaN to auto-size the component. (Inherited from ComponentBase.) |
Name | Description | |
---|---|---|
Gets the host containing this component, if any. (Inherited from ComponentBase.) |
||
Gets the current state of the button. |
Name | Description | |
---|---|---|
ComponentBase.ArrangeComponents override. (Inherited from ContentComponent.) |
||
Checks if the specified component is contained in the hierarchy defined by the current component. (Inherited from ComponentBase.) |
||
ContentComponent.Draw override. |
||
Returns the component with the specified name within the hierarchy defined by the current component. (Inherited from ComponentBase.) |
||
ComponentBase.GetCursor override. |
||
ContentComponent.GetDesiredSize override. |
||
Invalidates the visual appearance of the component. (Inherited from ComponentBase.) |
||
Invalidates the layout of this component and all its children. (Inherited from ComponentBase.) |
||
ComponentBase.OnKeyDown override. |
||
Called when a character key is pressed when this component has the input focus. (Inherited from ComponentBase.) |
||
Called when a key is released when this component has the input focus. (Inherited from ComponentBase.) |
||
ComponentBase.OnMouseDown override. |
||
ComponentBase.OnMouseMove override. |
||
ComponentBase.OnMouseDown override. |
||
Converts a point from local to document coordinates. (Inherited from ComponentBase.) |
||
Converts a point from document to local coordinates. (Inherited from ComponentBase.) |
||
Converts a point from local coordinates to the specified parent's coordinates. (Inherited from ComponentBase.) |
Name | Description | |
---|---|---|
Gets the image from the button's image list corresponding to the current state of the button. |
||
Gets the space around the component's content. This space includes padding by default but can be subsequently adjusted as necessary by the deriving classes. (Inherited from ContentComponent.) |
||
ContentComponent.LoadFrom override. |
||
ContentComponent.LoadFromJson override. |
||
ContentComponent.LoadFromXml override. |
||
Invoked when the component is added to a parent component. (Inherited from ComponentBase.) |
||
Raises the Clicked event. |
||
Raises the CustomDraw event. |
||
Raises the GotFocus event. (Inherited from ComponentBase.) |
||
Invokes when the component gains the input focus. (Inherited from ComponentBase.) |
||
Invokes when the component loses the input focus. (Inherited from ComponentBase.) |
||
Raises the LostFocus event. (Inherited from ComponentBase.) |
||
Raises the MouseMove event. (Inherited from ComponentBase.) |
||
Invoked when the component is removed from a parent component. (Inherited from ComponentBase.) |
||
Raises the RepeatEnded event. |
||
Invoked when the measure unit of the document containing the component has changed. (Inherited from ComponentBase.) |
||
Raises the Validated event. (Inherited from ComponentBase.) |
||
Raises the Validating event. (Inherited from ComponentBase.) |
||
Invoked when the zoom factor of the document containing the component has changed. (Inherited from ComponentBase.) |
||
ContentComponent.SaveTo override. |
||
ContentComponent.SaveToJson override. |
||
ContentComponent.SaveToXml override. |
||
Invoked to query whether the underlying component structure should be automatically serialized or serialized by the user. (Inherited from ComponentBase.) |
Name | Description | |
---|---|---|
Raised when the button is clicked. |
||
Raised when the button is drawn to allow for custom drawing. |
||
Raised when the component receives the input focus. (Inherited from ComponentBase.) |
||
Raised when the component loses the input focus. (Inherited from ComponentBase.) |
||
Raised when the mouse moves over the component. (Inherited from ComponentBase.) |
||
Raised when a repeat button has been released. |
||
Raised after the component has lost input focus. (Inherited from ComponentBase.) |
||
Raised when the component is about to lose input focus in order to validate it. (Inherited from ComponentBase.) |