WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface INodeInfo - WPF API Reference | Syncfusion Node class. ">

    Show / Hide Table of Contents

    Interface INodeInfo

    Represents a interface that supports to achieve drag, rotate, zooming functionalities of Node class.

    Inherited Members
    IGroupableInfo.BringIntoViewport()
    IGroupableInfo.BringIntoCenter()
    IGroupableInfo.IsGrouped
    IGroupableInfo.Bounds
    IGroupableInfo.Graph
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public interface INodeInfo : IGroupableInfo

    Properties

    ActualHeight

    Gets the ActualHeight of the Node.

    Declaration
    double ActualHeight { get; }
    Property Value
    Type Description
    System.Double

    ActualWidth

    Gets the ActualWidth of the Node.

    Declaration
    double ActualWidth { get; }
    Property Value
    Type Description
    System.Double

    DesiredSize

    Gets the size of the Node.

    Declaration
    Size DesiredSize { get; }
    Property Value
    Type Description
    System.Windows.Size

    InConnectors

    Gets the In connectors connected with Node.

    Declaration
    IEnumerable<IConnector> InConnectors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IConnector>

    InNeighbors

    Gets the in neighbor nodes connected with Node.

    Declaration
    IEnumerable<INode> InNeighbors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<INode>

    InOutConnectors

    Gets the In and Out connectors connected with Node.

    Declaration
    IEnumerable<IConnector> InOutConnectors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IConnector>

    Neighbors

    Gets the neighbor node connected with Node.

    Declaration
    IEnumerable<INode> Neighbors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<INode>

    OutConnectors

    Gets the Out connectors connected with Node.

    Declaration
    IEnumerable<IConnector> OutConnectors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IConnector>

    OutNeighbors

    Gets the out neighbor nodes connected with Node.

    Declaration
    IEnumerable<INode> OutNeighbors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<INode>

    Methods

    DragXTo(Double)

    Drag the node to x direction.

    Declaration
    void DragXTo(double newValue)
    Parameters
    Type Name Description
    System.Double newValue

    New offsetx value for Node

    DragYTo(Double)

    Drag the node to y direction.

    Declaration
    void DragYTo(double newValue)
    Parameters
    Type Name Description
    System.Double newValue

    New offsety value for Node

    GetAbsolutePoint(Point)

    To gets the absolute point based on Page

    Declaration
    Point GetAbsolutePoint(Point point)
    Parameters
    Type Name Description
    System.Windows.Point point
    Returns
    Type Description
    System.Windows.Point

    GetRelativePoint(Point)

    To gets the relative point based on Node

    Declaration
    Point GetRelativePoint(Point point)
    Parameters
    Type Name Description
    System.Windows.Point point
    Returns
    Type Description
    System.Windows.Point

    MovePivotTo(Point)

    Move the pivot point with new point.

    Declaration
    void MovePivotTo(Point newPivot)
    Parameters
    Type Name Description
    System.Windows.Point newPivot

    Update the pivot point with new point.

    RotateTo(Double, Nullable<Point>)

    To rotate the node based on the Angle.

    Declaration
    void RotateTo(double newAngle, Point? pivot)
    Parameters
    Type Name Description
    System.Double newAngle

    Rotate the node with new angle

    System.Nullable<System.Windows.Point> pivot

    Roation should perform based on the pivot point

    ScaleTo(Double, Double, Nullable<Point>, Boolean)

    Scaling the Node.

    Declaration
    void ScaleTo(double newWidth, double newHeight, Point? pivot, bool aspectRatio = false)
    Parameters
    Type Name Description
    System.Double newWidth

    NewWidth of the Node.

    System.Double newHeight

    NewHeight of the Node

    System.Nullable<System.Windows.Point> pivot

    Scaling should perform based on the pivot point

    System.Boolean aspectRatio

    Specifies to resize the Node proportionaly

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved