MicroSegmentChart Class
Represents a segment chart control.
[TemplatePart(Name = "PART_ItemsControl", Type = typeof(ItemsControl))]
public class MicroSegmentChart : Control
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
MicroSegmentChart()
Initializes an instance of the class.
public MicroSegmentChart()
Properties
DecreaseCommand
The ICommand that can be used to decrease the value.
IncreaseCommand
The ICommand that can be used to increase the value.
ItemContainerStyle
The Style to use for item containers.
ItemsPanel
The ItemsPanelTemplate to use for positioning segments.
Total
The total number of segments in the chart.
Value
The number of segments that should appear highlighted in the chart.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.
Fields
DecreaseCommandProperty
Defines the DecreaseCommand property.
public static readonly DependencyProperty DecreaseCommandProperty
IncreaseCommandProperty
Defines the IncreaseCommand property.
public static readonly DependencyProperty IncreaseCommandProperty
ItemContainerStyleProperty
Defines the ItemContainerStyle property.
public static readonly DependencyProperty ItemContainerStyleProperty
ItemsPanelProperty
Defines the ItemsPanel property.
public static readonly DependencyProperty ItemsPanelProperty
TotalProperty
Defines the Total property.
public static readonly DependencyProperty TotalProperty
ValueProperty
Defines the Value property.
public static readonly DependencyProperty ValueProperty