menu

WPF

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

    Show / Hide Table of Contents

    Class ShapeNode

    Represents the several built-in shapes are provided. The user can select from any of the built-in shapes.

    Inheritance
    System.Object
    DiagramElementViewModel
    GroupableViewModel
    NodeViewModel
    ShapeBase
    ShapeNode
    Implements
    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    DiagramElementViewModel.ID
    DiagramElementViewModel.Info
    DiagramElementViewModel.Key
    DiagramElementViewModel.OnPropertyChanged(String)
    DiagramElementViewModel.PropertyChanged
    GroupableViewModel.IsSelected
    GroupableViewModel.Name
    GroupableViewModel.SearchTags
    GroupableViewModel.ZIndex
    NodeViewModel.AnnotationConstraints
    NodeViewModel.Annotations
    NodeViewModel.ConnectorPadding
    NodeViewModel.Constraints
    NodeViewModel.Content
    NodeViewModel.ContentTemplate
    NodeViewModel.Flip
    NodeViewModel.FlipMode
    NodeViewModel.HitPadding
    NodeViewModel.IsExpanded
    NodeViewModel.LaneOffsetX
    NodeViewModel.LaneOffsetY
    NodeViewModel.MaxHeight
    NodeViewModel.MaxWidth
    NodeViewModel.Menu
    NodeViewModel.MinHeight
    NodeViewModel.MinWidth
    NodeViewModel.OffsetX
    NodeViewModel.OffsetY
    NodeViewModel.ParentGroup
    NodeViewModel.Pivot
    NodeViewModel.Ports
    NodeViewModel.PortVisibility
    NodeViewModel.RotateAngle
    NodeViewModel.Shape
    NodeViewModel.ShapeStyle
    NodeViewModel.SnapToObject
    NodeViewModel.ThemeStyleId
    NodeViewModel.UnitHeight
    NodeViewModel.UnitWidth
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class ShapeNode : ShapeBase, INode, IGroupable, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    ShapeNode()

    Initializes a new instance of the ShapeNode class.

    Declaration
    public ShapeNode()

    Properties

    Shapes

    Gets or sets a build-in shapes.

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

    Methods

    GetStar(Double, Double)

    Generate the star shape based on the spikes and radius parameter

    Declaration
    public void GetStar(double spikes, double radius)
    Parameters
    Type Name Description
    System.Double spikes
    System.Double radius

    MeasureOverride()

    Specifies to update the shape.

    Declaration
    public override void MeasureOverride()
    Overrides
    ShapeBase.MeasureOverride()

    UpdateShape()

    Occurs when a Shapes property value changes.

    Declaration
    public override void UpdateShape()
    Overrides
    ShapeBase.UpdateShape()

    Implements

    INode
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved