WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DockPortViewModel

    Show / Hide Table of Contents

    Class DockPortViewModel

    Represents a series of points act as the connection points of node and allows to create connections

    Inheritance
    System.Object
    DiagramElementViewModel
    DockPortViewModel
    Implements
    IDockPort
    IPort
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    IConnectorBase
    Inherited Members
    DiagramElementViewModel.OnPropertyChanged(String)
    DiagramElementViewModel.ID
    DiagramElementViewModel.Key
    DiagramElementViewModel.Info
    DiagramElementViewModel.PropertyChanged
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class DockPortViewModel : DiagramElementViewModel, IDockPort, IPort, IDiagramElement, IID, INotifyPropertyChanged, IConnectorBase

    Constructors

    DockPortViewModel()

    Declaration
    public DockPortViewModel()

    Properties

    ConnectionDirection

    Gets or sets the direction of connected connector.

    Declaration
    public ConnectionDirection ConnectionDirection { get; set; }
    Property Value
    Type Description
    ConnectionDirection

    ConnectorGeometryStyle

    Gets or sets the style of the Connector.

    Declaration
    public Style ConnectorGeometryStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    ConnectorPadding

    Gets or sets the space to be left between the port bounds and its incoming and outgoing connections.

    Declaration
    public double ConnectorPadding { get; set; }
    Property Value
    Type Description
    System.Double

    Constraints

    Gets or sets whether connections can be created with the port.

    Declaration
    public PortConstraints Constraints { get; set; }
    Property Value
    Type Description
    PortConstraints

    HitPadding

    Gets or sets the Range of the Connector Selection.

    Declaration
    public double HitPadding { get; set; }
    Property Value
    Type Description
    System.Double

    Node

    Gets or sets the Node of the DockPort.

    Declaration
    public object Node { get; set; }
    Property Value
    Type Description
    System.Object

    Ports

    Gets or sets a collection of Ports to be added to the specified Connector.

    Declaration
    public object Ports { get; set; }
    Property Value
    Type Description
    System.Object

    PortVisibility

    Gets or sets when the Port should be visible.

    Declaration
    public PortVisibility PortVisibility { get; set; }
    Property Value
    Type Description
    PortVisibility

    Segments

    Gets or sets a collection of objects where each object represents a segment.

    Declaration
    public object Segments { get; set; }
    Property Value
    Type Description
    System.Object

    Shape

    Gets or sets the shape of the dockport.

    Declaration
    public object Shape { get; set; }
    Property Value
    Type Description
    System.Object

    ShapeStyle

    Gets or sets the style of the dockport.

    Declaration
    public Style ShapeStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    SourcePoint

    Gets or sets the start point of the Connector.

    Declaration
    public Point SourcePoint { get; set; }
    Property Value
    Type Description
    System.Windows.Point

    TargetPoint

    Gets or sets the end point of the Connector.

    Declaration
    public Point TargetPoint { get; set; }
    Property Value
    Type Description
    System.Windows.Point

    UnitHeight

    Gets or sets the height of the port.

    Declaration
    public double UnitHeight { get; set; }
    Property Value
    Type Description
    System.Double

    UnitWidth

    Gets or sets the width of the port.

    Declaration
    public double UnitWidth { get; set; }
    Property Value
    Type Description
    System.Double

    Implements

    IDockPort
    IPort
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    IConnectorBase
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved