Class
GaugeBase

The base class for different gauges.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public abstract class GaugeBase : ItemsControl

Inheritance: objectGaugeBase

Derived Classes: LinearGaugeRadRadialGauge

Constructors

GaugeBase()

Initializes a new instance of the GaugeBase class.

Declaration

cs-api-definition
protected GaugeBase()

Fields

CellHeightProperty

Identifies the CellHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellHeightProperty

Field Value

DependencyProperty

CellSizeProperty

Identifies the CellSize dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellSizeProperty

Field Value

DependencyProperty

CellWidthProperty

Identifies the CellWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CellWidthProperty

Field Value

DependencyProperty

ScaleStyleProperty

Identifies the ScaleStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ScaleStyleProperty

Field Value

DependencyProperty

Properties

CellHeight

Gets cell size of the gauge. This property supports internal gauge infrastructure and it shouldn't be used from the customer's code.

Declaration

cs-api-definition
public double CellHeight { get; set; }

Property Value

double

CellSize

Gets cell size of the gauge. This property supports internal gauge infrastructure and it shouldn't be used from the customer's code.

Declaration

cs-api-definition
public Size CellSize { get; set; }

Property Value

Size

CellWidth

Gets cell size of the gauge. This property supports internal gauge infrastructure and it shouldn't be used from the customer's code.

Declaration

cs-api-definition
public double CellWidth { get; set; }

Property Value

double

Methods

CalculateCellSize()

Calculate cell size of the scale.

Declaration

cs-api-definition
protected virtual Size CalculateCellSize()

Returns

Size

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Invoked when the Items property changes.

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

Information about the change.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()