Class
SegmentedGaugeIndicator

This is the base class for the segmented indicators. It defines a collection of segments and provides a grid panel for the layout of the segments.

Definition

Namespace:Telerik.UI.Xaml.Controls.DataVisualization

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class SegmentedGaugeIndicator : GaugeIndicator

Inheritance: objectRadControlGaugeIndicatorSegmentedGaugeIndicator

Derived Classes: SegmentedLinearGaugeIndicatorSegmentedRadialGaugeIndicator

Inherited Members GaugeIndicator.ValuePropertyGaugeIndicator.StartValuePropertyGaugeIndicator.IsAnimatedPropertyGaugeIndicator.AnimationEasingPropertyGaugeIndicator.AnimationDurationPropertyGaugeIndicator.MeasureOverride(Size)GaugeIndicator.ValueGaugeIndicator.StartValueGaugeIndicator.OwnerGaugeIndicator.IsAnimatedGaugeIndicator.AnimationDurationGaugeIndicator.AnimationEasingGaugeIndicator.ValueChangedRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

SegmentedGaugeIndicator()

Initializes a new instance of the SegmentedGaugeIndicator class.

Declaration

cs-api-definition
protected SegmentedGaugeIndicator()

Properties

Layout

Gets the layout panel for this segmented indicator.

Declaration

cs-api-definition
protected Grid Layout { get; }

Property Value

Grid

Segments

Gets the segments collection.

Declaration

cs-api-definition
public IndicatorSegmentCollection Segments { get; }

Property Value

IndicatorSegmentCollection

Remarks

Segments can be added and removed from this collection. Every such action triggers state resets and will be slow if done often.

TotalSegmentLength

Gets the total length of the currently added segments.

Declaration

cs-api-definition
protected double TotalSegmentLength { get; }

Property Value

double

Methods

ApplyTemplateCore()

Initializes the template parts of the indicator (see the TemplatePart attributes for more information).

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides RadControl.ApplyTemplateCore()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides GaugeIndicator.OnCreateAutomationPeer()