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

Constructors

RangeBase()

Initializes an instance of the class.

protected RangeBase()

Properties

Background

The background brush.

public Brush? Background { get; set; }

Property Value

Brush:

The default value is DarkGoldenrod.

BorderBrush

The border brush.

public Brush? BorderBrush { get; set; }

Property Value

Brush:

The default value is Black.

BorderDashStyle

The border dash style.

public DashStyle? BorderDashStyle { get; set; }

Property Value

DashStyle:

The default value is Solid.

BorderWidth

The border width.

public double BorderWidth { get; set; }

Property Value

double:

The default value is 0.

EndValue

The end value of the range.

public double EndValue { get; set; }

Property Value

double:

The default value is 0.

HasDropShadow

Indicates whether this instance has a drop shadow.

public bool HasDropShadow { get; set; }

Property Value

bool:

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

IsLogarithmic

Indicates 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

Indicates whether this instance is reversed.

protected bool IsReversed { get; }

Property Value

bool:

true if this instance is reversed; otherwise, false.

LogarithmicBase

The logarithm base when using a logarithmic scale.

protected double LogarithmicBase { get; }

Property Value

double

Maximum

The maximum value.

protected double Maximum { get; }

Property Value

double

Minimum

The minimum value.

protected double Minimum { get; }

Property Value

double

ScaleOffset

The offset from the scale based on the ScalePlacement.

public Unit ScaleOffset { get; set; }

Property Value

Unit:

The default value is 0px.

ScalePlacement

The placement of the range relative to the scale.

public ScalePlacement ScalePlacement { get; set; }

Property Value

ScalePlacement:

The default value is Overlay.

StartValue

The start value of the range.

public double StartValue { get; set; }

Property Value

double:

The default value is 0.

Fields

BackgroundProperty

Defines the Background property.

public static readonly DependencyProperty BackgroundProperty

BorderBrushProperty

Defines the BorderBrush property.

public static readonly DependencyProperty BorderBrushProperty

BorderDashStyleProperty

Defines the BorderDashStyle property.

public static readonly DependencyProperty BorderDashStyleProperty

BorderWidthProperty

Defines the BorderWidth property.

public static readonly DependencyProperty BorderWidthProperty

EndValueProperty

Defines the EndValue property.

public static readonly DependencyProperty EndValueProperty

HasDropShadowProperty

Defines the HasDropShadow property.

public static readonly DependencyProperty HasDropShadowProperty

ScaleOffsetProperty

Defines the ScaleOffset property.

public static readonly DependencyProperty ScaleOffsetProperty

ScalePlacementProperty

Defines the ScalePlacement property.

public static readonly DependencyProperty ScalePlacementProperty

StartValueProperty

Defines the StartValue property.

public static readonly DependencyProperty StartValueProperty

Inherited Members

Extension Methods