In This Article

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 an instance of the class.

public MicroSegmentChartItem()

Properties

HighlightedBackground

The Brush to use when the item is highlighted.

public Brush? HighlightedBackground { get; set; }

Property Value

Brush

IsHighlighted

The whether the item is highlighted.

public bool IsHighlighted { get; set; }

Property Value

bool:

The default value is false.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Fields

HighlightedBackgroundProperty

Defines the HighlightedBackground property.

public static readonly DependencyProperty HighlightedBackgroundProperty

IsHighlightedProperty

Defines the IsHighlighted property.

public static readonly DependencyProperty IsHighlightedProperty

Extension Methods