Search
TextComponent Members
Properties Methods
 


Represents a Component that draws text.

The following tables list the members exposed by the TextComponent type.

 Public Properties

  Name Description

fontName

Gets or sets the name of the font that should be used to draw the component's text.

fontSize

Gets or sets the size of the font that should be used to draw the component's text.

fontStyle

Gets or sets the style of the font that should be used to draw the component's text.

styleHint

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.

text

Gets or sets the text that should be drawn inside this component.

textBrush

Gets or sets the Brush that should be used to draw the component's text.

 Public Methods

  Name Description

draw

Component.Draw override. Draws associated Text in specified RenderContext.

measure

Component.Measure override. Measures the desired size of this component.

 See Also