Class DrawParameter
Represents the Connection Parameter of the Connector
Inheritance
System.Object
DrawParameter
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DrawParameter : IDrawParameter
Constructors
DrawParameter()
Initializes a new instance of the DrawParameter class.
Declaration
public DrawParameter()
DrawParameter(DrawingTool, MouseEventArgs, Nullable<Point>, Object, Object, NullSourceTarget)
Initializes a new instance of the DrawParameter class.
Declaration
public DrawParameter(DrawingTool tool, MouseEventArgs args, Point? point = default(Point? ), object node = null, object port = null, NullSourceTarget nullSourceTarget = NullSourceTarget.None | NullSourceTarget.Default)
Parameters
Type | Name | Description |
---|---|---|
DrawingTool | tool | Used to identify the type of the DrawingTool. |
System.Windows.Input.MouseEventArgs | args | Used to identify the Pointer Moving Event Arguments . |
System.Nullable<System.Windows.Point> | point | Used to identify start or end point of the drawing object. |
System.Object | node | Used to identify the Node. |
System.Object | port | Used to identify the port. |
NullSourceTarget | nullSourceTarget | Null Source target. |
Properties
Node
Gets the draw item as Node.
Declaration
public object Node { get; }
Property Value
Type |
---|
System.Object |
NullSourceTarget
Gets the NullSourceTarget of the Connector.
Declaration
public NullSourceTarget NullSourceTarget { get; }
Property Value
Type |
---|
NullSourceTarget |
Point
Gets the point to be draw a connector.
Declaration
public Point? Point { get; }
Property Value
Type |
---|
System.Nullable<System.Windows.Point> |
Port
Gets the Port of the Connector.
Declaration
public object Port { get; }
Property Value
Type |
---|
System.Object |
PressedEventArgs
Gets the PointerMovedArgs of the objects.
Declaration
public MouseEventArgs PressedEventArgs { get; }
Property Value
Type |
---|
System.Windows.Input.MouseEventArgs |
Tool
Gets the DrawingTool of the Connector.
Declaration
public DrawingTool Tool { get; }
Property Value
Type |
---|
DrawingTool |