menu

UWP

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

    Show / Hide Table of Contents

    Class NodeViewModel

    Represents the graphical objects used to visually represent the geometrical information, process flow, internal business procedure, entity, or any other kind of data.

    Inheritance
    System.Object
    DiagramElementViewModel
    GroupableViewModel
    NodeViewModel
    BpmnNodeViewModel
    GroupViewModel
    ShapeBase
    SwimlaneViewModel
    Implements
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    DiagramElementViewModel.ID
    DiagramElementViewModel.Info
    DiagramElementViewModel.Key
    DiagramElementViewModel.OnPropertyChanged(String)
    DiagramElementViewModel.PropertyChanged
    GroupableViewModel.IsSelected
    GroupableViewModel.ZIndex
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class NodeViewModel : GroupableViewModel, INode, IGroupable, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    NodeViewModel()

    Initializes a new instance of the NodeViewModel class.

    Declaration
    public NodeViewModel()

    NodeViewModel(Rect, Object)

    Initializes a new instance of the NodeViewModel class.

    Declaration
    public NodeViewModel(Rect bounds, object content)
    Parameters
    Type Name Description
    Windows.Foundation.Rect bounds

    The bounds of the Node.

    System.Object content

    Content of the Node.

    Properties

    AnnotationConstraints

    Gets or sets the default behaviors of the annotation.

    Declaration
    public AnnotationConstraints AnnotationConstraints { get; set; }
    Property Value
    Type
    AnnotationConstraints

    Annotations

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

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

    ConnectorPadding

    Gets or sets the distance to be left between a Node and its connections(In coming and out going connections).

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

    Constraints

    Gets or sets the default behaviors of the node.

    Declaration
    public NodeConstraints Constraints { get; set; }
    Property Value
    Type
    NodeConstraints

    Content

    Gets or sets the content of the node.

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

    ContentTemplate

    Gets or sets the data template used to display the content.

    Declaration
    public DataTemplate ContentTemplate { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.DataTemplate

    Flip

    Gets or sets the object is to be mirrored horizontally, vertically, or both.

    Declaration
    public Flip Flip { get; set; }
    Property Value
    Type
    Flip

    FlipMode

    Gets or sets the object is to be mirrored horizontally, vertically, or both.

    Declaration
    public FlipMode FlipMode { get; set; }
    Property Value
    Type
    FlipMode

    HitPadding

    Gets or sets the range of the node selection

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

    IsExpanded

    Gets or sets a value indicates whether the node is expanded.

    Declaration
    public bool IsExpanded { get; set; }
    Property Value
    Type
    System.Boolean

    LaneOffsetX

    Gets or sets the position of the Lane Child on X-Axis.

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

    LaneOffsetY

    Gets or sets the position of the Lane Child on Y-Axis.

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

    MaxHeight

    Gets or sets the maximum height limit of the node.

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

    MaxWidth

    Gets or sets the maximum width limit of the node.

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

    Menu

    Gets to Sets the value to define some additional Menu Items.

    Declaration
    public DiagramMenu Menu { get; set; }
    Property Value
    Type
    DiagramMenu

    MinHeight

    Gets or sets the minimum height limit of the node.

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

    MinWidth

    Gets or sets the minimum width limit of the node.

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

    OffsetX

    Gets or sets the position of the node on X-Axis.

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

    OffsetY

    Gets or sets the position of the node on Y-Axis.

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

    ParentGroup

    Gets or sets the parentgroup of the Node.

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

    Pivot

    Gets or sets the ratio/fractional value relative to node, based on which the node will be transformed(positioning, scaling and rotation).

    Declaration
    public Point Pivot { get; set; }
    Property Value
    Type
    Windows.Foundation.Point

    Ports

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

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

    PortVisibility

    Gets or sets when the port should be visible.

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

    RotateAngle

    Gets or sets the angle to which the node should be rotated.

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

    Shape

    Gets or sets the shape of the Node.

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

    ShapeStyle

    Gets or sets the style of the Node.

    Declaration
    public Style ShapeStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    SnapToObject

    Gets or sets the snapping nodes to the object.

    Declaration
    public SnapToObject SnapToObject { get; set; }
    Property Value
    Type
    SnapToObject

    ThemeStyleId

    Gets or sets the themestyleid of the node

    Declaration
    public StyleId ThemeStyleId { get; set; }
    Property Value
    Type
    StyleId

    UnitHeight

    Gets or sets the height of the node.

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

    UnitWidth

    Gets or sets the width of the node.

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

    Implements

    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

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