DataPointLabel Class
A label on a data point.
[TemplatePart(Name = "PART_ContentPresenter", Type = typeof(ContentPresenter))]
public class DataPointLabel : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control Object
Properties
DesiredPosition
Gets or sets the desired position.
SeriesDefaultBrush
Gets or sets the series default brush.
Text
Gets or sets the label text.
WasMouseInsideBounds
Gets or sets a value indicating whether the data point was mouse inside bounds.
public bool WasMouseInsideBounds { get; set; }
Property Value
- Boolean:
true
if the data point was mouse inside bounds; otherwise,false
.
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 (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public override void OnApplyTemplate()
Show()
Begins the animation to show the data point label.
public void Show()
Fields
SeriesDefaultBrushProperty
Identifies the SeriesDefaultBrush dependency property. This field is read-only.
public static readonly DependencyProperty SeriesDefaultBrushProperty
TextProperty
Identifies the Text dependency property. This field is read-only.
public static readonly DependencyProperty TextProperty
WasMouseInsideBoundsProperty
Identifies the WasMouseInsideBounds dependency property. This field is read-only.
public static readonly DependencyProperty WasMouseInsideBoundsProperty
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()