menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawParameter - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DrawParameter

    Represents the Connection Parameter of the Connector

    Inheritance
    System.Object
    DrawParameter
    Implements
    IDrawParameter
    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

    Implements

    IDrawParameter

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved