DataPointLabel Class
A label on a data point.
[TemplatePart(Name = "PART_ContentPresenter", Type = typeof(ContentPresenter))]
public class DataPointLabel : Control
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Properties
DesiredPosition
The desired position.
public Point? DesiredPosition { get; set; }
Property Value
- Point
SeriesDefaultBrush
The series default brush.
Text
The label text.
WasMouseInsideBounds
Indicates whether the data point was mouse inside bounds.
Methods
Hide()
Begins the animation to hide the data point label.
public void Hide()
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
Show()
Begins the animation to show the data point label.
public void Show()
Fields
SeriesDefaultBrushProperty
Defines the SeriesDefaultBrush property.
public static readonly DependencyProperty SeriesDefaultBrushProperty
TextProperty
Defines the Text property.
public static readonly DependencyProperty TextProperty
WasMouseInsideBoundsProperty
Defines the WasMouseInsideBounds property.
public static readonly DependencyProperty WasMouseInsideBoundsProperty