Search
Pointer Members
Constructors Fields Properties Methods Events
 


Represents a needle (or arrow) within a gauge scale.

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

 Public Constructors

  Name Description

Pointer

Initializes a new instance of the Pointer 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 alignment of the pointer relative to the scale.

Bounds

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

CustomShape

Gets or sets the definition of the pointer shape when Shape is set to Custom.

Fill

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

Height

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

IsDiscrete

Gets or sets a value indicating whether the pointer value can be changed only discretely. In other words, the pointer Value can be only integer.

IsInteractive

Gets or sets a value indicating whether the pointer position should be affected by user interactions.

Margin

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

Name

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

PointerHeight

Gets or sets the height of the pointer.

PointerOffset

Gets or sets the offset of the pointer along the direction it points to.

PointerWidth

Gets or sets the width of the pointer.

RenderSize

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

Shape

Gets or sets the shape of the pointer.

Size

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

Stroke

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

Value

Gets or sets the value this pointer points to.

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

VisualElementContainer.ArrangeOverride override.

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.)

OnValueChanged

Raises the ValueChanged event.

OnValueChanging

Raises the ValueChanging event.

 Public Events

  Name Description

Clicked

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

ValueChanged

Occurs when the Value of this pointer changes, either programmatically or interactively.

ValueChanging

Occurs when the Value of this pointer is being changed interactively.

 See Also