RulerAnnotation
StockSharp.Xaml.Charting.Ultrachart
Ruler annotation.
継承元: AnnotationBase
コンストラクター
RulerAnnotation()
Initializes a new instance of the ICH.
プロパティ
RulerHeight : double
Ruler height.
RulerWidth : double
Ruler width.
メソッド
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
戻り値: 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
戻り値: 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.
フィールド
RulerHeightProperty : DependencyProperty
Ruler height.
RulerWidthProperty : DependencyProperty
Ruler width.
Text1Property : DependencyProperty
First line of ruler text.
Text2Property : DependencyProperty
Second line of ruler text.