Nevron .NET Vision
Nevron.Diagram Namespace / NShape Class / GraphPart Property


In This Topic
    GraphPart Property
    In This Topic
    Gets/sets whether this shape should be treated as a graph part or not. When this property is set to true, 2D shapes are treated as graph vertices, while 1D shapes are treated as graph edges.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Behavior")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets whether this shape should be treated as a graph part or not. When this property is set to true 2D shapes are treated as graph vertices, while 1D shapes are treated as graph edges.")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property GraphPart As System.Boolean
    'Usage
     
    
    Dim instance As NShape
    Dim value As System.Boolean
     
    instance.GraphPart = value
     
    value = instance.GraphPart
    [System.ComponentModel.Category("Behavior")]
    [System.ComponentModel.Description("Gets/sets whether this shape should be treated as a graph part or not. When this property is set to true 2D shapes are treated as graph vertices, while 1D shapes are treated as graph edges.")]
    [System.Xml.Serialization.XmlAttribute()]
    public System.bool GraphPart {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also