Search
BaseScale Members
Constructors Fields Properties Methods Events
 


Represents a scale within a gauge control. The scale contains collections of pointers, labels, ticks and ranges along with any arbitrary controls.

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

 Protected Constructors

  Name Description

BaseScale

Initializes a new instance of the BaseScale 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

Bounds

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

CustomFunction

Gets or sets the function to be used for distribution of values along the scale when FunctionType is set to Custom.

EndWidth

Gets or sets the width of the scale bar at its end.

Fill

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

FunctionArgument

Gets or sets the argument passed to custom functions.

FunctionType

Gets or sets the type of the function used to calculate the distribution of values along the scale.

Height

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

LogarithmBase

Gets or sets the logarithm base when FunctionType is set to Logarithmic.

MajorTickSettings

Gets or sets the settings for the major ticks and their associated labels.

Margin

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

MaxValue

Gets or sets the maximal value displayed by the scale.

MiddleTickSettings

Gets or sets the settings for the middle ticks and their associated labels.

MinorTickSettings

Gets or sets the settings for the minor ticks and their associated labels.

MinValue

Gets or sets the minimal value displayed by the scale.

Name

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

Pointers

Gets or sets a collection with the pointers displayed in the scale.

Ranges

Gets or sets a collection with the ranges displayed in the scale.

RenderSize

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

ReversedCustomFunction

Gets or sets the reversed version of the function specified through CustomFunction.

ScaleChildren

Gets or sets a collection with elements displayed in the scale.

Size

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

StartWidth

Gets or sets the width of the scale bar at its beginning.

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

BeginInit

ISupportInitialize.BeginInit override.

Dispose

IDisposable.Dispose implementation. (Inherited from VisualElement.)

EndInit

ISupportInitialize.EndInit override.

GetValueFromPoint

Returns the value corresponding to the specified point.

HitTestObj

VisualElement.HitTestObj override. (Inherited from VisualElementContainer.)

ToString

Object.ToString override. (Inherited from VisualElement.)

 Protected Methods

  Name Description

ArrangeOverride

VisualElementContainer.ArrangeOverride override.

MeasureOverride

VisualElement.MeasureOverride override. (Inherited from VisualElementContainer.)

OnClicked

Raises the Clicked event. (Inherited from ScaleElement.)

OnPointerClicked

Raises the PointerClicked event.

OnQueryLabelValue

Raises the QueryLabelValue event.

OnRangeClicked

Raises the RangeClicked event.

OnRenderSizeChanged

VisualElement.OnRenderSizeChanged override.

OnScaleGeometryClicked

Raises the ScaleGeometryClicked event.

OnTickClicked

Raises the TickClicked event.

 Public Events

  Name Description

Clicked

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

PointerClicked

Occurs when a pointer within the scale is clicked with the mouse.

QueryLabelValue

Occurs when the labels in the scale are being generated in order to associate custom values with them.

ScaleGeometryClicked

Occurs when the scale geometry is clicked with the mouse.

 See Also