Class DrawEndedEventArgs
Namespace: RichCanvas.CustomEventArgs
Assembly: RichCanvas.dll
Arguments for the RichCanvas.RichCanvas.DrawingEnded routed event.
public class DrawEndedEventArgs
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
DrawEndedEventArgs(object, Point)
Initializes new RichCanvas.CustomEventArgs.DrawEndedEventArgs.
public DrawEndedEventArgs(object dataContext, Point drawEndedMousePosition)
Parameters
dataContext
object
DataContext of the last drawn RichCanvas.RichCanvasContainer's Content
drawEndedMousePosition
Point
Mouse position where drawing has ended.
Properties
DataContext
Gets the DataContext of the last drawn RichCanvas.RichCanvasContainer's Content.
public object DataContext { get; }
Property Value
DrawEndedMousePosition
Gets mouse position where drawing has ended.
public Point DrawEndedMousePosition { get; }