RulerAnnotation
StockSharp.Xaml.Charting.Ultrachart
Ruler annotation.
Erbt von: AnnotationBase
Konstruktoren
RulerAnnotation()
Initializes a new instance of the ICH.
Eigenschaften
RulerHeight : double
Ruler height.
RulerWidth : double
Ruler width.
Methoden
AttachInteractionHandlersTo(FrameworkElement)
Auto-remove on any mouse click.
DetachInteractionHandlersFrom(FrameworkElement)
Auto-remove on any mouse click.
FromCoordinate(double, IAxis) : IComparable
Converts a pixel coordinate to data-value
- coord
- The pixel coordinate.
- axis
- The axis for which the data value is calculated
Rückgabe: The datavalue
GetSelectedCursor() : Cursor
Gets the Cursor to use for the annotation when selected
IsPointWithinBounds(Point) : bool
Returns true if the Point is within the bounds of the current IHitTestable element
- point
- The point to test
Rückgabe: true if the Point is within the bounds
MakeInvisible()
Called internally by layout system when annotation is out of surface's bounds
MakeVisible(AnnotationCoordinates)
Called internally by layout system when annotation come into surface's bounds
OnApplyTemplate()
Builds the visual tree for the LayoutTransformer control when a new template is applied.
Felder
RulerHeightProperty : DependencyProperty
Ruler height.
RulerWidthProperty : DependencyProperty
Ruler width.
Text1Property : DependencyProperty
First line of ruler text.
Text2Property : DependencyProperty
Second line of ruler text.