In This Article

RangeBase Class

Represents the base class for ranges.

public abstract class RangeBase : GaugeElement, ILogicalParent, IVisualParent
Inheritance:
object Visual UIElement FrameworkElement GaugeElement object
Derived:
CircularRange LinearRange
Implements:
ILogicalParent IVisualParent

Remarks

For detailed documentation on this control's features and how to use them, please see the
Gauge documentation topics.

Constructors

RangeBase()

Initializes an instance of the class.

protected RangeBase()

Properties

Background

Gets or sets the background brush. This is a dependency property.

public Brush Background { get; set; }

Property Value

Brush:

The background brush. The default value is DarkGoldenrod.

BorderBrush

Gets or sets the border brush. This is a dependency property.

public Brush BorderBrush { get; set; }

Property Value

Brush:

The border brush. The default value is Black.

BorderDashStyle

Gets or sets the border dash style. This is a dependency property.

public DashStyle BorderDashStyle { get; set; }

Property Value

DashStyle:

The border dash style. The default value is DashStyle.Solid.

BorderWidth

Gets or sets the border width. This is a dependency property.

public double BorderWidth { get; set; }

Property Value

double:

The border width. The default value is 0.

EndValue

Gets or sets the end value of the range. This is a dependency property.

public double EndValue { get; set; }

Property Value

double:

The end value of the range. The default value is 0.

HasDropShadow

Gets or sets a value indicating whether this instance has a drop shadow. This is a dependency property.

public bool HasDropShadow { get; set; }

Property Value

bool:

true if this instance has a drop shadow; otherwise, false. The default value is true.

IsLogarithmic

Gets a value indicating whether this instance uses a logarithmic scale.

protected bool IsLogarithmic { get; }

Property Value

bool:

true if this instance uses a logarithmic scale; otherwise, false.

IsReversed

Gets a value indicating whether this instance is reversed.

protected bool IsReversed { get; }

Property Value

bool:

true if this instance is reversed; otherwise, false.

LogarithmicBase

Gets the logarithm base when using a logarithmic scale.

protected double LogarithmicBase { get; }

Property Value

double:

The logarithm base.

Maximum

Gets the maximum value.

protected double Maximum { get; }

Property Value

double:

The maximum value.

Minimum

Gets the minimum value.

protected double Minimum { get; }

Property Value

double:

The minimum value.

ScaleOffset

Gets or sets the offset from the scale based on the ScalePlacement. This is a dependency property.

public Unit ScaleOffset { get; set; }

Property Value

Unit:

The scale offset. The default value is 0px.

ScalePlacement

Gets or sets the placement of the range relative to the scale. This is a dependency property.

public ScalePlacement ScalePlacement { get; set; }

Property Value

ScalePlacement:

The scale placement. The default value is ScalePlacement.Overlay.

StartValue

Gets or sets the start value of the range. This is a dependency property.

public double StartValue { get; set; }

Property Value

double:

The start value of the range. The default value is 0.

Fields

BackgroundProperty

Identifies the Background dependency property. This field is read-only.

public static readonly DependencyProperty BackgroundProperty

BorderBrushProperty

Identifies the BorderBrush dependency property. This field is read-only.

public static readonly DependencyProperty BorderBrushProperty

BorderDashStyleProperty

Identifies the BorderDashStyle dependency property. This field is read-only.

public static readonly DependencyProperty BorderDashStyleProperty

BorderWidthProperty

Identifies the BorderWidth dependency property. This field is read-only.

public static readonly DependencyProperty BorderWidthProperty

EndValueProperty

Identifies the EndValue dependency property. This field is read-only.

public static readonly DependencyProperty EndValueProperty

HasDropShadowProperty

Identifies the HasDropShadow dependency property. This field is read-only.

public static readonly DependencyProperty HasDropShadowProperty

ScaleOffsetProperty

Identifies the ScaleOffset dependency property. This field is read-only.

public static readonly DependencyProperty ScaleOffsetProperty

ScalePlacementProperty

Identifies the ScalePlacement dependency property. This field is read-only.

public static readonly DependencyProperty ScalePlacementProperty

StartValueProperty

Identifies the StartValue dependency property. This field is read-only.

public static readonly DependencyProperty StartValueProperty

Inherited Members