New to Telerik UI for WinFormsStart a free 30-day trial

DrawingEventArgs.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class DrawingEventArgs : EventArgs

Inheritance: objectEventArgsDrawingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the DrawingEventArgs class.

C#
public DrawingEventArgs(IGeometryShape shape, IEnumerable<Point> anchorPoints, IEnumerable<Point> controlPoints, bool isCompleted, bool isUndoable, string toolName)
Parameters:shapeIGeometryShapeanchorPointsIEnumerable<Point>controlPointsIEnumerable<Point>isCompletedboolisUndoablebooltoolNamestring

Properties

AnchorPoints

IEnumerable<Point>

Gets the anchor points.

C#
public IEnumerable<Point> AnchorPoints { get; }

ControlPoints

IEnumerable<Point>

Gets the control points.

C#
public IEnumerable<Point> ControlPoints { get; }

Gets a value indicating whether this instance is completed.

C#
public bool IsCompleted { get; }

Gets a value indicating whether this instance is undoable.

C#
public bool IsUndoable { get; }

Gets the shape.

C#
public IGeometryShape Shape { get; }

Gets a value indicating the name of the current tool.

C#
public string ToolName { get; }