Search
Text Members
Constructors Fields Properties Methods Events
 


Represents a static text within a scale.

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

 Public Constructors

  Name Description

Text

Initializes a new instance of the Text class.

 Public Fields

  Name Description

DesiredSize

The desired size of this element. (Inherited from VisualElement.)

RelativeCoordinates

A value indicating whether the metrics of this element are expressed as relative or absolute quantities. (Inherited from VisualElement.)

RelativeStroke

A value indicating whether the stroke thickness of this element is expressed as relative or absolute quantity. (Inherited from VisualElement.)

 Protected Fields

  Name Description

filling

The cached outline of a sealed path figure. (Inherited from VisualElement.)

outline

The cached outline of a sealed path figure. (Inherited from VisualElement.)

 Public Properties

  Name Description

Alignment

Gets or sets the horizontal alignment of the text.

Bounds

Gets or sets the bounding rectangle of this element. (Inherited from VisualElement.)

Content

Gets or sets the displayed text content.

Fill

Gets or sets the fill of this element. (Inherited from VisualElement.)

FontFamily

Gets or sets the font family of the text.

FontSize

Gets or sets the font size of the text.

FontStyle

Gets or sets the font style of the text.

Foreground

Gets or sets the color of the text.

Height

Gets or sets the normalized height of this element. (Inherited from VisualElement.)

LineAlignment

Gets or sets the vertical alignment of the text.

Margin

Gets or sets the margin of this element. (Inherited from VisualElement.)

Name

Gets or sets the name of this element. (Inherited from VisualElement.)

RenderSize

Gets or sets the rendering size of the element. (Inherited from VisualElement.)

Size

Gets or sets the size of this element. (Inherited from VisualElement.)

Stroke

Gets or sets the stroke of this element. (Inherited from VisualElement.)

X

Gets or sets the normalized x position of this element, relative to its parent. (Inherited from VisualElement.)

Y

Gets or sets the normalized y position of this element, relative to its parent. (Inherited from VisualElement.)

 Public Methods

  Name Description

Dispose

IDisposable.Dispose implementation. (Inherited from VisualElement.)

HitTestObj

VisualElement.HitTestObj override. (Inherited from VisualElementContainer.)

ToString

Object.ToString override. (Inherited from VisualElement.)

 Protected Methods

  Name Description

ArrangeOverride

VisualElement.ArrangeOverride override. (Inherited from VisualElementContainer.)

MeasureOverride

VisualElementContainer.MeasureOverride override.

OnClicked

Raises the Clicked event. (Inherited from ScaleElement.)

OnRenderSizeChanged

Invoked when the RenderSize of the element has changed. (Inherited from VisualElement.)

 Public Events

  Name Description

Clicked

Raised when the user clicks this element with the mouse. (Inherited from ScaleElement.)

 See Also