MicroSegmentChart Class
Represents a segment chart control.
[TemplatePart(Name = "PART_ItemsControl", Type = typeof(ItemsControl))]
public class MicroSegmentChart : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control Object
Constructors
MicroSegmentChart()
Initializes a new instance of the MicroSegmentChart class.
public MicroSegmentChart()
Properties
DecreaseCommand
Gets the ICommand that can be used to decrease the value.
public ICommand DecreaseCommand { get; }
Property Value
IncreaseCommand
Gets the ICommand that can be used to increase the value.
public ICommand IncreaseCommand { get; }
Property Value
ItemContainerStyle
Gets or sets the Style to use for item containers. This is a dependency property.
public Style ItemContainerStyle { get; set; }
Property Value
ItemsPanel
Gets or sets the ItemsPanelTemplate to use for positioning segments. This is a dependency property.
public ItemsPanelTemplate ItemsPanel { get; set; }
Property Value
- ItemsPanelTemplate:
The ItemsPanelTemplate to use for positioning segments.
Total
Gets or sets the total number of segments in the chart. This is a dependency property.
public int Total { get; set; }
Property Value
- Int32:
The total number of segments in the chart. The default value is
10
.
Value
Gets or sets the number of segments that should appear highlighted in the chart. This is a dependency property.
public int Value { get; set; }
Property Value
- Int32:
The number of segments that should appear highlighted in the chart. The default value is
0
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
Fields
DecreaseCommandProperty
Identifies the DecreaseCommand dependency property. This field is read-only.
public static readonly DependencyProperty DecreaseCommandProperty
IncreaseCommandProperty
Identifies the IncreaseCommand dependency property. This field is read-only.
public static readonly DependencyProperty IncreaseCommandProperty
ItemContainerStyleProperty
Identifies the ItemContainerStyle dependency property. This field is read-only.
public static readonly DependencyProperty ItemContainerStyleProperty
ItemsPanelProperty
Identifies the ItemsPanel dependency property. This field is read-only.
public static readonly DependencyProperty ItemsPanelProperty
TotalProperty
Identifies the Total dependency property. This field is read-only.
public static readonly DependencyProperty TotalProperty
ValueProperty
Identifies the Value dependency property. This field is read-only.
public static readonly DependencyProperty ValueProperty
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()