MainGrid

StockSharp.Xaml.Charting.Visuals

Defines the Maingrid, a root grid which hosts the UltrachartSurface

Erbt von: Grid

Implementiert: IMainGrid, IPublishMouseEvents, IHitTestable

Konstruktoren

MainGrid()

Initializes a new instance of the MainGrid class.

Methoden

GetBoundsRelativeTo(IHitTestable) : Rect

Gets the bounds of the current HitTestable element relative to another HitTestable element

relativeTo
The relative to.
IsPointWithinBounds(Point) : bool

Returns true if the Point is within the bounds of the current HitTestable element

point
The point to test

Rückgabe: true if the Point is within the bounds

TranslatePoint(Point, IHitTestable) : Point

Translates the point relative to the other hittestable element

point
The point.
relativeTo
The relative to.

Ereignisse

MouseMiddleButtonDown : MouseButtonEventHandler

Occurs when the middle mouse button is pressed while the mouse pointer is over a UIElement.

MouseMiddleButtonUp : MouseButtonEventHandler

Occurs when the middle mouse button is released while the mouse pointer is over a UIElement. However, this event will only be raised if a caller marks the preceding MouseRightButtonDown event as handled; see Remarks.

TouchDown : EventHandler<TouchManipulationEventArgs>

Occurs when an input device begins a manipulation on the UIElement.

TouchMove : EventHandler<TouchManipulationEventArgs>

Occurs when an input device changes position during manipulation.

TouchUp : EventHandler<TouchManipulationEventArgs>

Occurs when a manipulation and inertia on the UIElement object is complete.