IMousePositionProvider

StockSharp.Xaml.Charting.Utility.Mouse

An interface to a provider which converts MouseEventArgs into Point coordinates. Used internally to Ultrachart and implemented with interface to enable mocking and testing

Methods

GetPosition(IPublishMouseEvents, MouseEventArgs) : Point

Gets the mouse position from the MouseEventArgs as a Point (pixel coordinates relative to IPublishMouseEventssource

source
e

Returns: The mouse position as a Point