[]
        
(Showing Draft Content)

C1.WPF.Gauge.GaugeDecorator

GaugeDecorator Class

Base class for C1Gauge decorators.

Namespace: C1.WPF.Gauge
Assembly: C1.WPF.Gauge.dll
Syntax
public abstract class GaugeDecorator : DependencyObject, INotifyPropertyChanged
Public MustInherit Class GaugeDecorator
    Inherits DependencyObject
    Implements INotifyPropertyChanged

Constructors

Name Description
GaugeDecorator()

Fields

Name Description
AbsoluteLocationProperty

Identifies the AbsoluteLocation dependency property.

AbsoluteThicknessProperty

Identifies the AbsoluteThickness dependency property.

AlignmentProperty

Identifies the Alignment dependency property.

BorderBrushProperty

Identifies the BorderBrush dependency property.

BorderDashesProperty

Identifies the BorderDashes dependency property.

BorderWidthProperty

Identifies the BorderWidth dependency property.

BrushProperty

Identifies the Brush dependency property.

DefaultColor
FromProperty

Identifies the From dependency property.

LocationProperty

Identifies the Location dependency property.

ThicknessProperty

Identifies the Thickness dependency property.

ToProperty

Identifies the To dependency property.

Properties

Name Description
AbsoluteLocation

Gets or sets a logical value representing the base axis of the decorator. In radial gauges the abolute zero is the center of the gauge whereas in linear is the bottom edge.

AbsoluteThickness

Gets or sets the thickness of this decorator .

Alignment

Gets or sets how the decorator is aligned in respect to the axis determined by Location.

BorderBrush

Gets or sets the brush used to display the border of this decorator.

BorderDashes

Gets or sets the dashes pattern used in the border of this decorator.

BorderWidth

Gets or sets the border width of this decorator.

Brush

Gets or sets the brush used to display this decorator.

From

Gets or sets the value where the decorator starts. Set to double.NaN to bind to Gauge's minimum (default).

Location

Gets or sets a logical value representing the base axis of the decorator, where 0 represents the inner edge in radial gauges and bottom edge in linear, and 1 represents the outer edge in radial and the top edge in linear.

Thickness

Gets or sets the thickness of this decorator relative to the gauge's thickncess.

To

Gets or sets the value where the decorator ends. Set to double.NaN to bind to Gauge's maximum (default).

Methods

Name Description
OnPropertyChanged(string)

Called when a property changed.

Events

Name Description
PropertyChanged

Occurs when a property value changes.