ChartModifierSurface
Defines the ChartModifierSurface, which acts as an overlay Canvas on top of the UltrachartSurface for drawing annotations,
Наследует: ContentControl
Реализует: IChartModifierSurface, IHitTestable
Конструкторы
ChartModifierSurface()
Initializes a new instance of the ChartModifierSurface class.
Свойства
Children : ObservableCollection<UIElement>
Gets the collection of UIElement children drawn on the canvas over the top of the UltrachartSurface
ClipToBounds : bool
Gets or sets whether UIElements added to the ModifierSurface should clip to bounds or not
Методы
Clear()
Clears all children off the IChartModifierSurface
GetBoundsRelativeTo(IHitTestable) : Rect
Gets the bounds of the current IHitTestable element relative to another IHitTestable element
- relativeTo
- The relative to.
IsPointWithinBounds(Point) : bool
Returns true if the Point is within the bounds of the current IHitTestable element
- point
- The point to test, translated relative to RootGrid
Возвращает: true if the Point is within the bounds
TranslatePoint(Point, IHitTestable) : Point
Translates the point relative to the other IHitTestable element
- point
- The input point relative to this IHitTestable
- relativeTo
- The other IHitTestable to use when transforming the point
Возвращает: The transformed Point
Поля
ClipToBoundsProperty : DependencyProperty
Defines the ClipToBounds DependencyProperty