Show / Hide Table of Contents

Class DataPoint

Represents a control that displays a data point.

Inheritance
System.Object
DependencyObject
UIElement
FrameworkElement
Control
DataPoint
AreaDataPoint
BarDataPoint
BubbleDataPoint
ColumnDataPoint
LineDataPoint
PieDataPoint
ScatterDataPoint
Inherited Members
Control.EnableBaseControlHandlingOfVisualStates
Control.ManageIsEnabled(Boolean)
Control.Background
Control.BackgroundProperty
Control.BorderBrush
Control.BorderBrushProperty
Control.BorderThickness
Control.BorderThicknessProperty
Control.FontWeight
Control.FontWeightProperty
Control.FontStyle
Control.FontStyleProperty
Control.Foreground
Control.ForegroundProperty
Control.FontFamily
Control.FontFamilyProperty
Control.FontSize
Control.FontSizeProperty
Control.TextDecorations
Control.TextDecorationsProperty
Control.Padding
Control.PaddingProperty
Control.HorizontalContentAlignment
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignment
Control.VerticalContentAlignmentProperty
Control.TabIndex
Control.TabIndexProperty
Control.IsTabStop
Control.IsTabStopProperty
Control.TabNavigation
Control.TabNavigationProperty
Control.Template
Control.TemplateProperty
Control.ApplyTemplate()
Control.GetTemplateChild(String)
Control.Focus()
Control.HandlesScrolling
Control.OnGotFocus(RoutedEventArgs)
Control.OnLostFocus(RoutedEventArgs)
Control.CreateDomElement(Object, Object)
Control.CharacterSpacingProperty
Control.CharacterSpacing
Control.FontStretchProperty
Control.FontStretch
Control.OnDrop(DragEventArgs)
Control.OnDragEnter(DragEventArgs)
Control.OnDragLeave(DragEventArgs)
Control.OnTextInputUpdate(TextCompositionEventArgs)
Control.MeasureOverride(Size)
Control.ArrangeOverride(Size)
FrameworkElement.LayoutUpdated
FrameworkElement.SizeChanged
FrameworkElement.ResourceLookupMode
FrameworkElement.StyleProperty
FrameworkElement.Style
FrameworkElement.DefaultStyleKeyProperty
FrameworkElement.DefaultStyleKey
FrameworkElement.OverridesDefaultStyleProperty
FrameworkElement.OverridesDefaultStyle
FrameworkElement.OnVisualParentChanged(DependencyObject)
FrameworkElement.VisualChildrenCount
FrameworkElement.GetVisualChild(Int32)
FrameworkElement.Parent
FrameworkElement.AddLogicalChild(Object)
FrameworkElement.RemoveLogicalChild(Object)
FrameworkElement.LogicalChildren
FrameworkElement.TemplatedParent
FrameworkElement.Resources
FrameworkElement.IsLoaded
FrameworkElement.SetBinding(DependencyProperty, BindingBase)
FrameworkElement.SetBinding(DependencyProperty, Binding)
FrameworkElement.GetBindingExpression(DependencyProperty)
FrameworkElement.Cursor
FrameworkElement.CursorProperty
FrameworkElement.FindName(String)
FrameworkElement.Name
FrameworkElement.NameProperty
FrameworkElement.DataContext
FrameworkElement.DataContextProperty
FrameworkElement.DataContextChanged
FrameworkElement.Triggers
FrameworkElement.FlowDirectionProperty
FrameworkElement.FlowDirection
FrameworkElement.LanguageProperty
FrameworkElement.Language
FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
FrameworkElement.Tag
FrameworkElement.TagProperty
FrameworkElement.LoadedEvent
FrameworkElement.Loaded
FrameworkElement.Unloaded
FrameworkElement.BindingValidationError
FrameworkElement.ContextMenuProperty
FrameworkElement.ContextMenu
FrameworkElement.ContextMenuOpening
FrameworkElement.ToolTipProperty
FrameworkElement.ToolTip
FrameworkElement.INTERNAL_OnDetachedFromVisualTree()
FrameworkElement.INTERNAL_OnAttachedToVisualTree()
FrameworkElement.Height
FrameworkElement.HeightProperty
FrameworkElement.Width
FrameworkElement.WidthProperty
FrameworkElement.HorizontalAlignment
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignment
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.Margin
FrameworkElement.MarginProperty
FrameworkElement.MinHeight
FrameworkElement.MinHeightProperty
FrameworkElement.MinWidth
FrameworkElement.MinWidthProperty
FrameworkElement.MaxHeight
FrameworkElement.MaxHeightProperty
FrameworkElement.MaxWidth
FrameworkElement.MaxWidthProperty
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualWidth
FrameworkElement.ActualHeightProperty
FrameworkElement.ActualHeight
UIElement.TransformToVisual(UIElement)
UIElement.OnCreateAutomationPeer()
UIElement.RenderSize
UIElement.DesiredSize
UIElement.InvalidateMeasure()
UIElement.InvalidateArrange()
UIElement.Measure(Size)
UIElement.Arrange(Rect)
UIElement.UpdateLayout()
UIElement.DragEnter
UIElement.DragLeave
UIElement.Drop
UIElement.DragOver
UIElement.CacheMode
UIElement.CacheModeProperty
UIElement.Projection
UIElement.ProjectionProperty
UIElement.VisualParent
UIElement.AddVisualChild(UIElement)
UIElement.RemoveVisualChild(UIElement)
UIElement.OnVisualChildrenChanged(DependencyObject, DependencyObject)
UIElement.XamlSourcePath
UIElement.ClipToBounds
UIElement.ClipToBoundsProperty
UIElement.ClipProperty
UIElement.Clip
UIElement.IsEnabledProperty
UIElement.IsEnabled
UIElement.IsEnabledChanged
UIElement.EffectProperty
UIElement.Effect
UIElement.RenderTransformProperty
UIElement.RenderTransform
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformOrigin
UIElement.UseLayoutRounding
UIElement.UseLayoutRoundingProperty
UIElement.Visibility
UIElement.VisibilityProperty
UIElement.IsVisibleProperty
UIElement.IsVisible
UIElement.IsVisibleChanged
UIElement.OpacityProperty
UIElement.Opacity
UIElement.OpacityMaskProperty
UIElement.OpacityMask
UIElement.IsHitTestVisible
UIElement.IsHitTestVisibleProperty
UIElement.AllowDrop
UIElement.AllowDropProperty
UIElement.CaptureMouse()
UIElement.IsMouseCaptured
UIElement.ReleaseMouseCapture()
UIElement.AllowScrollOnTouchMove
UIElement.AllowScrollOnTouchMoveProperty
UIElement.AddHandler(RoutedEvent, Delegate, Boolean)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.OnMouseMove(MouseEventArgs)
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonDown
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonDown
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.OnMouseWheel(MouseWheelEventArgs)
UIElement.MouseLeftButtonUpEvent
UIElement.MouseLeftButtonUp
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.TextInputStartEvent
UIElement.TextInputStart
UIElement.OnTextInputStart(TextCompositionEventArgs)
UIElement.TextInputEvent
UIElement.TextInput
UIElement.OnTextInput(TextCompositionEventArgs)
UIElement.TextInputUpdateEvent
UIElement.TextInputUpdate
UIElement.TappedEvent
UIElement.Tapped
UIElement.OnTapped(TappedRoutedEventArgs)
UIElement.MouseRightButtonUpEvent
UIElement.MouseRightButtonUp
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.OnKeyDown(KeyEventArgs)
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.OnKeyUp(KeyEventArgs)
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.LostMouseCapture
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.INTERNAL_AttachToDomEvents()
UIElement.INTERNAL_DetachFromDomEvents()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
public abstract class DataPoint : Control, IControl, IFrameworkElement, IUIElement, IDependencyObject

Constructors

| Improve this Doc View Source

DataPoint()

Initializes a new instance of the DataPoint class.

Declaration
protected DataPoint()

Fields

| Improve this Doc View Source

ActualDependentValueProperty

Identifies the ActualDependentValue dependency property.

Declaration
public static readonly DependencyProperty ActualDependentValueProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ActualIndependentValueProperty

Identifies the ActualIndependentValue dependency property.

Declaration
public static readonly DependencyProperty ActualIndependentValueProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

DependentValueProperty

Identifies the DependentValue dependency property.

Declaration
public static readonly DependencyProperty DependentValueProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

DependentValueStringFormatProperty

Identifies the DependentValueStringFormat dependency property.

Declaration
public static readonly DependencyProperty DependentValueStringFormatProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

FormattedDependentValueProperty

Identifies the FormattedDependentValue dependency property.

Declaration
public static readonly DependencyProperty FormattedDependentValueProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

FormattedIndependentValueProperty

Identifies the FormattedIndependentValue dependency property.

Declaration
public static readonly DependencyProperty FormattedIndependentValueProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IndependentValueProperty

Identifies the IndependentValue dependency property.

Declaration
public static readonly DependencyProperty IndependentValueProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IndependentValueStringFormatProperty

Identifies the IndependentValueStringFormat dependency property.

Declaration
public static readonly DependencyProperty IndependentValueStringFormatProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

IsSelectionEnabledProperty

Identifies the IsSelectionEnabled dependency property.

Declaration
public static readonly DependencyProperty IsSelectionEnabledProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

ActualDependentValue

Gets or sets the actual dependent value displayed in the chart.

Declaration
public IComparable ActualDependentValue { get; set; }
Property Value
Type Description
System.IComparable
| Improve this Doc View Source

ActualIndependentValue

Gets or sets the actual independent value.

Declaration
public object ActualIndependentValue { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

DependentValue

Gets or sets the dependent value of the Control.

Declaration
public IComparable DependentValue { get; set; }
Property Value
Type Description
System.IComparable
| Improve this Doc View Source

DependentValueStringFormat

Gets or sets the format string for the FormattedDependentValue property.

Declaration
public string DependentValueStringFormat { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FormattedDependentValue

Gets the DependentValue as formatted by the DependentValueStringFormat property.

Declaration
public string FormattedDependentValue { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FormattedIndependentValue

Gets the IndependentValue as formatted by the IndependentValueStringFormat property.

Declaration
public string FormattedIndependentValue { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IndependentValue

Gets or sets the independent value.

Declaration
public object IndependentValue { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

IndependentValueStringFormat

Gets or sets the format string for the FormattedIndependentValue property.

Declaration
public string IndependentValueStringFormat { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsHovered

Gets a value indicating whether the mouse is hovering over the data point.

Declaration
protected bool IsHovered { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSelectionEnabled

Gets or sets a value indicating whether selection is enabled.

Declaration
public bool IsSelectionEnabled { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

OnActualDependentValuePropertyChanged(IComparable, IComparable)

Called when the value of the ActualDependentValue property changes.

Declaration
protected virtual void OnActualDependentValuePropertyChanged(IComparable oldValue, IComparable newValue)
Parameters
Type Name Description
System.IComparable oldValue

The value to be replaced.

System.IComparable newValue

The new value.

| Improve this Doc View Source

OnActualIndependentValuePropertyChanged(Object, Object)

Called when the ActualIndependentValue property changes.

Declaration
protected virtual void OnActualIndependentValuePropertyChanged(object oldValue, object newValue)
Parameters
Type Name Description
System.Object oldValue

The value to be replaced.

System.Object newValue

The new value.

| Improve this Doc View Source

OnApplyTemplate()

Builds the visual tree for the DataPoint when a new template is applied.

Declaration
public override void OnApplyTemplate()
Overrides
Control.OnApplyTemplate()
| Improve this Doc View Source

OnDependentValuePropertyChanged(IComparable, IComparable)

Called when the DependentValue property changes.

Declaration
protected virtual void OnDependentValuePropertyChanged(IComparable oldValue, IComparable newValue)
Parameters
Type Name Description
System.IComparable oldValue

The value to be replaced.

System.IComparable newValue

The new value.

| Improve this Doc View Source

OnDependentValueStringFormatPropertyChanged(String, String)

Called when DependentValueStringFormat property changes.

Declaration
protected virtual void OnDependentValueStringFormatPropertyChanged(string oldValue, string newValue)
Parameters
Type Name Description
System.String oldValue

The value to be replaced.

System.String newValue

The new value.

| Improve this Doc View Source

OnIndependentValuePropertyChanged(Object, Object)

Called when the IndependentValue property changes.

Declaration
protected virtual void OnIndependentValuePropertyChanged(object oldValue, object newValue)
Parameters
Type Name Description
System.Object oldValue

The old value.

System.Object newValue

The new value.

| Improve this Doc View Source

OnIndependentValueStringFormatPropertyChanged(String, String)

Called when the value of the IndependentValueStringFormat property changes.

Declaration
protected virtual void OnIndependentValueStringFormatPropertyChanged(string oldValue, string newValue)
Parameters
Type Name Description
System.String oldValue

The value to be replaced.

System.String newValue

The new value.

| Improve this Doc View Source

OnIsHoveredPropertyChanged(Boolean, Boolean)

IsHoveredProperty property changed handler.

Declaration
protected virtual void OnIsHoveredPropertyChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
System.Boolean oldValue

Old value.

System.Boolean newValue

New value.

| Improve this Doc View Source

OnIsSelectedPropertyChanged(Boolean, Boolean)

IsSelectedProperty property changed handler.

Declaration
protected virtual void OnIsSelectedPropertyChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
System.Boolean oldValue

The value to be replaced.

System.Boolean newValue

The new value.

| Improve this Doc View Source

OnIsSelectionEnabledPropertyChanged(Boolean, Boolean)

IsSelectionEnabledProperty property changed handler.

Declaration
protected virtual void OnIsSelectionEnabledPropertyChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
System.Boolean oldValue

Old value.

System.Boolean newValue

New value.

| Improve this Doc View Source

OnMouseEnter(MouseEventArgs)

Provides handling for the MouseEnter event.

Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e

Event arguments.

Overrides
UIElement.OnMouseEnter(MouseEventArgs)
| Improve this Doc View Source

OnMouseLeave(MouseEventArgs)

Provides handling for the MouseLeave event.

Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type Name Description
MouseEventArgs e

Event arguments.

Overrides
UIElement.OnMouseLeave(MouseEventArgs)
| Improve this Doc View Source

OnMouseLeftButtonDown(MouseButtonEventArgs)

Provides handling for the MouseLeftButtonDown event.

Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type Name Description
MouseButtonEventArgs e

Event arguments.

Overrides
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
| Improve this Doc View Source

OnStatePropertyChanged(DataPointState, DataPointState)

Called when the value of the State property changes.

Declaration
protected virtual void OnStatePropertyChanged(DataPointState oldValue, DataPointState newValue)
Parameters
Type Name Description
DataPointState oldValue

The value to be replaced.

DataPointState newValue

The new value.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
UIElementExtendedRoutedEventExtensions.AddHandler(UIElement, ExtendedRoutedEvent, Delegate, Boolean)
UIElementExtendedRoutedEventExtensions.RemoveHandler(UIElement, ExtendedRoutedEvent, Delegate)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
VisualTreeExtensions.GetBoundsRelativeTo(FrameworkElement, UIElement)
VisualTreeExtensions.InvokeOnLayoutUpdated(FrameworkElement, Action)
  • Improve this Doc
  • View Source