GaugeBase
The base class for different gauges.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public abstract class GaugeBase : ItemsControl
Inheritance: objectGaugeBase
Derived Classes:
Constructors
Initializes a new instance of the GaugeBase class.
protected GaugeBase()
Fields
CellHeightProperty
DependencyProperty
Identifies the CellHeight dependency property.
public static readonly DependencyProperty CellHeightProperty
CellSizeProperty
DependencyProperty
Identifies the CellSize dependency property.
public static readonly DependencyProperty CellSizeProperty
CellWidthProperty
DependencyProperty
Identifies the CellWidth dependency property.
public static readonly DependencyProperty CellWidthProperty
ScaleStyleProperty
DependencyProperty
Identifies the ScaleStyle dependency property.
public static readonly DependencyProperty ScaleStyleProperty
Properties
Gets cell size of the gauge. This property supports internal gauge infrastructure and it shouldn't be used from the customer's code.
public double CellHeight { get; set; }
CellSize
Size
Gets cell size of the gauge. This property supports internal gauge infrastructure and it shouldn't be used from the customer's code.
public Size CellSize { get; set; }
Methods
Calculate cell size of the scale.
protected virtual Size CalculateCellSize()
Size
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Invoked when the Items property changes.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Information about the change.
Resets the theme.
public void ResetTheme()