ClassGaugeBase
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
GaugeBase()
Initializes a new instance of the GaugeBase class.
Declaration
protected GaugeBase()
Fields
CellHeightProperty
Identifies the CellHeight dependency property.
Declaration
public static readonly DependencyProperty CellHeightProperty
Field Value
DependencyProperty
CellSizeProperty
Identifies the CellSize dependency property.
Declaration
public static readonly DependencyProperty CellSizeProperty
Field Value
DependencyProperty
CellWidthProperty
Identifies the CellWidth dependency property.
Declaration
public static readonly DependencyProperty CellWidthProperty
Field Value
DependencyProperty
ScaleStyleProperty
Identifies the ScaleStyle dependency property.
Declaration
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.
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
public Size CellSize { get; set; }
Property Value
Size
Methods
CalculateCellSize()
Calculate cell size of the scale.
Declaration
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
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
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
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Invoked when the Items property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
Information about the change.