Class DrawParameter
Represents the Connection Parameter of the Connector
Inheritance
System.Object
DrawParameter
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class DrawParameter : Object, IDrawParameter
Constructors
DrawParameter()
Initializes a new instance of the DrawParameter class.
Declaration
public DrawParameter()
DrawParameter(DrawingTool, PointerRoutedEventArgs, Nullable<Point>, Object, Object, NullSourceTarget)
Initializes a new instance of the DrawParameter class.
Declaration
public DrawParameter(DrawingTool tool, PointerRoutedEventArgs args, Nullable<Point> point = null, object node = null, object port = null, NullSourceTarget nullSourceTarget)
Parameters
Type | Name | Description |
---|---|---|
DrawingTool | tool | Used to identify the type of the DrawingTool. |
Windows.UI.Xaml.Input.PointerRoutedEventArgs | args | Used to identify the Pointer Moving Event Arguments . |
System.Nullable<Windows.Foundation.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 Nullable<Point> Point { get; }
Property Value
Type |
---|
System.Nullable<Windows.Foundation.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 PointerRoutedEventArgs PressedEventArgs { get; }
Property Value
Type |
---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs |
Tool
Gets the DrawingTool of the Connector.
Declaration
public DrawingTool Tool { get; }
Property Value
Type |
---|
DrawingTool |