Represents the abstract base of all components.
The following tables list the members exposed by the ComponentBase type.
Name | Description | |
---|---|---|
Initializes a new instance of the ComponentBase class. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the component is defined as a property on the client side. |
||
Gets or sets the calculated bounds of this component relative to its parent. |
||
Gets the number of child components of this component. |
||
Gets or sets a value indicating whether the component can receive the input focus. |
||
Gets or sets the index of the grid column this component will be associated with when added to a GridPanel. |
||
Gets or sets the index of the grid row this component will be associated with when added to a GridPanel. |
||
Gets or sets the explicit height of this component or float.NaN to auto-size the component. |
||
Gets or sets the horizontal alignment of this component relative to its parent. |
||
Gets or sets a value indicating whether the component is enabled. |
||
Gets or sets a value indicating whether this component currently holds the input focus. |
||
Gets or sets a value indicating whether this component and all its children are subject to hit-testing operations. |
||
Gets or sets a value indicating whether this component can be interacted with. |
||
Gets or sets the name of the component. |
||
Gets the parent component, if the current component is hosted. |
||
Gets or sets the vertical alignment of this component relative to its parent. |
||
Gets or sets a value indicating whether the component is visible. |
||
Gets or sets the explicit width of this component or float.NaN to auto-size the component. |
Name | Description | |
---|---|---|
Gets the host containing this component, if any. |
Name | Description | |
---|---|---|
Recursively arranges the child components, within the specified space and using the specified graphics for measurement purposes. |
||
Checks if the specified component is contained in the hierarchy defined by the current component. |
||
Renders the component in the specified IGraphics. |
||
Returns the component with the specified name within the hierarchy defined by the current component. |
||
Gets the cursor to display when the mouse is at the specified position. |
||
Gets the desired size of this component in case the Width and/or Height have not been explicitly specified. |
||
Invalidates the visual appearance of the component. |
||
Invalidates the layout of this component and all its children. |
||
Called when a key is pressed when this component has the input focus. |
||
Called when a character key is pressed when this component has the input focus. |
||
Called when a key is released when this component has the input focus. |
||
Called when the left mouse button is pressed while the pointer is over this component. |
||
Called when the mouse is moved while this component tracks the mouse events. |
||
Called when the left mouse button is released while this component tracks the mouse events. |
||
Converts a point from local to document coordinates. |
||
Converts a point from document to local coordinates. |
||
Converts a point from local coordinates to the specified parent's coordinates. |
Name | Description | |
---|---|---|
Deserializes the component from the specified reader. |
||
Loads the component from a JSON object. |
||
Deserializes the component from an XML element. |
||
Invoked when the component is added to a parent component. |
||
Raises the GotFocus event. |
||
Invokes when the component gains the input focus. |
||
Raises the LostFocus event. |
||
Invokes when the component loses the input focus. |
||
Raises the MouseMove event. |
||
Invoked when the component is removed from a parent component. |
||
Invoked when the measure unit of the document containing the component has changed. |
||
Raises the Validated event. |
||
Raises the Validating event. |
||
Invoked when the zoom factor of the document containing the component has changed. |
||
Serializes the component to the specified writer. |
||
Saves the component as a JSON object. |
||
Serializes the component into an XML element. |
||
Invoked to query whether the underlying component structure should be automatically serialized or serialized by the user. |
Name | Description | |
---|---|---|
Raised when the component receives the input focus. |
||
Raised when the component loses the input focus. |
||
Raised when the mouse moves over the component. |
||
Raised after the component has lost input focus. |
||
Raised when the component is about to lose input focus in order to validate it. |