MindFusion.Wpf Pack Programmer's Guide
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

DefaultPointerStyleProperty

Identifies the DefaultPointerStyle dependency property.

EnableAnimationProperty

Identifies the EnableAnimation dependency property.

EndWidthProperty

Identifies the EndWidth dependency property.

FillProperty

Identifies the Fill dependency property.

FunctionArgumentProperty

Identifies the FunctionArgument dependency property.

FunctionTypeProperty

Identifies the FunctionType dependency property.

LogarithmBaseProperty

Identifies the LogarithmBase dependency property.

MajorTickSettingsProperty

Identifies the MajorTickSettings dependency property.

MaxValueProperty

Identifies the MaxValue dependency property.

MiddleTickSettingsProperty

Identifies the MiddleTickSettings dependency property.

MinorTickSettingsProperty

Identifies the MinorTickSettings dependency property.

MinValueProperty

Identifies the MinValue dependency property.

PointerAnimationDecelerationRatioProperty

Identifies the PointerAnimationDecelerationRatio dependency property.

PointerAnimationDurationProperty

Identifies the PointerAnimationDuration dependency property.

PointersProperty

Identifies the Pointers dependency property.

RangesProperty

Identifies the Ranges dependency property.

StartWidthProperty

Identifies the StartWidth dependency property.

StrokeProperty

Identifies the Stroke dependency property.

StrokeThicknessProperty

Identifies the StrokeThickness dependency property.

 Public Properties

  Name Description

CustomFunction

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

DefaultPointerStyle

Gets or sets the default style for pointers in this scale. This is a dependency property.

EnableAnimation

Gets or sets a value indicating whether animations in the scale are enabled. This is a dependency property.

EndWidth

Gets or sets the width of the scale bar at its end. This is a dependency property.

Fill

Gets or sets the brush used to fill the scale. This is a dependency property.

FunctionArgument

Gets or sets the argument passed to custom functions. This is a dependency property.

FunctionType

The type of the function used to calculate the distribution of values along the scale. This is a dependency property.

LogarithmBase

Gets or sets the logarithm base when FunctionType is set to Logarithmic. This is a dependency property.

MajorTickSettings

Gets or sets the settings for the major ticks and their associated labels. This is a dependency property.

MaxValue

Gets or sets the maximal value displayed by the scale. This is a dependency property.

MiddleTickSettings

Gets or sets the settings for the middle ticks and their associated labels. This is a dependency property.

MinorTickSettings

Gets or sets the settings for the minor ticks and their associated labels. This is a dependency property.

MinValue

Gets or sets the minimal value displayed by the scale. This is a dependency property.

PointerAnimationDecelerationRatio

Gets or sets the deceleration ratio of the animation of animated pointers. This is a dependency property.

PointerAnimationDuration

Gets or sets the duration of the animation of animated pointers. This is a dependency property.

Pointers

Gets or sets a collection with the pointers displayed in the scale. This is a dependency property.

Ranges

Gets or sets a collection with the ranges displayed in the scale. This is a dependency property.

ReversedCustomFunction

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

StartWidth

Gets or sets the width of the scale bar at its beginning. This is a dependency property.

Stroke

Gets or sets the brush used to stroke the scale. This is a dependency property.

StrokeThickness

Gets or sets the thickness of the scale stroke. This is a dependency property.

 Public Methods

  Name Description

BeginInit

ItemsControl.BeginInit override.

EndInit

ItemsControl.EndInit override.

GetValueFromPoint

Returns the value corresponding to the specified point.

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

 Protected Methods

  Name Description

ArrangeOverride

Control.ArrangeOverride override.

MeasureOverride

Control.MeasureOverride override.

OnMouseDown

UIElement.OnMouseDown override.

OnMouseMove

UIElement.OnMouseMove override.

OnMouseUp

UIElement.OnMouseUp override.

OnPointerClicked

Raises the PointerClicked event.

OnRangeClicked

Raises the RangeClicked event.

OnRender

UIElement.OnRender override.

OnScaleClicked

Raises the ScaleClicked event.

OnScaleGeometryClicked

Raises the ScaleGeometryClicked event.

 Public Events

  Name Description

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.

RangeClicked

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

ScaleClicked

Occurs when the scale is clicked with the mouse.

ScaleGeometryClicked

Occurs when the scale geometry is clicked with the mouse.

 See Also

BaseScale Class
MindFusion.Gauges.Wpf Namespace