Represents a Component that draws text.
The following tables list the members exposed by the TextComponent type.
Name | Description | |
---|---|---|
Initializes a new instance of the TextComponent class. |
Name | Description | |
---|---|---|
A double value specifying the component's assigned height. Valid only after calling Arrange. (Inherited from Component.) |
||
A double value specifying the component's assigned width. Valid only after calling Arrange. (Inherited from Component.) |
||
A nullable double value specifying the component's desired height. Valid only after calling Measure. (Inherited from Component.) |
||
A nullable double value specifying the component's desired width. Valid only after calling Measure. (Inherited from Component.) |
||
Gets or sets the name of the font that should be used to draw the component's text. |
||
Gets or sets the size of the font that should be used to draw the component's text. |
||
Gets or sets the style of the font that should be used to draw the component's text. |
||
Gets or sets the column index of this component when placed inside a GridPanel. (Inherited from Component.) |
||
Gets or sets the row index of this component when placed inside a GridPanel. (Inherited from Component.) |
||
Gets or sets a fixed height for this component. (Inherited from Component.) |
||
Gets or sets the hit-test visibility of this component. (Inherited from Component.) |
||
Gets or sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.) |
||
Gets or sets the margin space around this component relative to the layout rectangle allocated by its parent panel. (Inherited from Component.) |
||
Gets the boundaries of this component relative to its parent. (Inherited from Component.) |
||
Gets or sets a value indicating which attribute values this component should inherit from current Theme if its local text appearance properties are not set. |
||
Gets or sets the text that should be drawn inside this component. |
||
Gets or sets the Brush that should be used to draw the component's text. |
||
Gets or sets the component's tooltip text. (Inherited from Component.) |
||
Gets or sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.) |
||
Gets or sets the visibility of this component. (Inherited from Component.) |
||
Gets or sets a fixed width for this component. (Inherited from Component.) |
||
A double value specifying the component's horizontal position relative to its parent. (Inherited from Component.) |
||
A double value specifying the component's vertical position relative to its parent. (Inherited from Component.) |
Name | Description | |
---|---|---|
Sets the location and size of this component relatively to its parent. (Inherited from Component.) |
||
Returns a ComponentController used to interact with this component. (Inherited from Component.) |
||
Component.Draw override. Draws associated Text in specified RenderContext. |
||
Returns the component containing specified point. (Inherited from Component.) |
||
Overloaded. Invalidates the appearance of this component. (Inherited from Component.) |
||
Invalidates the current layout and runs a new layout pass before next draw operation. (Inherited from Component.) |
||
Transforms the specified point to the coordinate system of the root panel. (Inherited from Component.) |
||
Component.Measure override. Measures the desired size of this component. |
||
Transforms the specified point to the coordinate system of this component. (Inherited from Component.) |
||
Implements the visitor design pattern. (Inherited from Component.) |
Name | Description | |
---|---|---|
Sums specified nullable double values. (Inherited from Component.) |
||
Arranges a child component in specified layout rectangle. (Inherited from Component.) |
||
Returns the larger of specified values. (Inherited from Component.) |