MicroSegmentChartItem Class
Represents a segment chart item.
[TemplateVisualState(Name = "Unhighlighted", GroupName = "HighlightStates")]
[TemplateVisualState(Name = "Highlighted", GroupName = "HighlightStates")]
public class MicroSegmentChartItem : Control
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
MicroSegmentChartItem()
Initializes a new instance of the MicroSegmentChartItem class.
public MicroSegmentChartItem()
Properties
HighlightedBackground
Gets or sets the Brush to use when the item is highlighted. This is a dependency property.
public Brush HighlightedBackground { get; set; }
Property Value
IsHighlighted
Gets or sets the whether the item is highlighted. This is a dependency property.
public bool IsHighlighted { get; set; }
Property Value
- bool:
true
if the item is highlighted; otherwise,false
. The default value isfalse
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
Fields
HighlightedBackgroundProperty
Identifies the HighlightedBackground dependency property. This field is read-only.
public static readonly DependencyProperty HighlightedBackgroundProperty
IsHighlightedProperty
Identifies the IsHighlighted dependency property. This field is read-only.
public static readonly DependencyProperty IsHighlightedProperty