ClassBarIndicatorSegment
This class represents a segment in a segmented bar indicator. A segment can have a distinctive color, length and thickness.
Definition
Namespace:Telerik.UI.Xaml.Controls.DataVisualization
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class BarIndicatorSegment : RadControl
Inheritance: objectRadControlBarIndicatorSegment
Inherited Members
Constructors
BarIndicatorSegment()
Initializes a new instance of the BarIndicatorSegment class.
Declaration
public BarIndicatorSegment()
Fields
LengthProperty
Identifies the Length property.
Declaration
public static readonly DependencyProperty LengthProperty
Field Value
DependencyProperty
StrokeProperty
Identifies the Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
DependencyProperty
ThicknessProperty
Identifies the Thickness property.
Declaration
public static readonly DependencyProperty ThicknessProperty
Field Value
DependencyProperty
Properties
Length
Gets or sets the length of the current segment.
Declaration
public double Length { get; set; }
Property Value
Remarks
The length does not need to be an absolute value. Internally a ratio is calculated that determines the actual length of each segment, relative to the actual value range of the owning GaugePanel instance. For example if a segmented indicator has three segments of length 1, they will be of evenly placed over the available indicator space. This property is somewhat similar to the relative size of the Grid panel's columns and rows.
Stroke
Gets or sets the color of the segment.
Declaration
public Brush Stroke { get; set; }
Property Value
Brush
Methods
ApplyTemplateCore()
Initializes the template parts of the control (see the TemplatePart attributes for more information).
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides