alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class TagContainer

    Represents metadata associated with a tree node in the script editor.

    Inheritance
    System.Object
    TagContainer
    TagEventContainer
    Inherited Members
    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.Scripting.Design
    Assembly: Syncfusion.Scripting.Windows.dll
    Syntax
    public class TagContainer

    Constructors

    TagContainer(Object, String, TreeNodeType)

    Initializes a new instance of the TagContainer class for non-event nodes.

    Declaration
    public TagContainer(object prop, string name, TreeNodeType nodeType)
    Parameters
    Type Name Description
    System.Object prop

    The property or object associated with the node.

    System.String name

    The display name of the node.

    TreeNodeType nodeType

    The type of the node. Must not be Event or EventHandler.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when nodeType is Event or EventHandler for this constructor.

    TagContainer(EventInfo, String, TreeNodeType)

    Initializes a new instance of the TagContainer class for event-related nodes.

    Declaration
    public TagContainer(EventInfo evInfo, string name, TreeNodeType nodeType)
    Parameters
    Type Name Description
    System.Reflection.EventInfo evInfo

    The EventInfo describing the event.

    System.String name

    The display name of the node.

    TreeNodeType nodeType

    The type of the node. Must be Event or EventHandler.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when nodeType is not Event or EventHandler for this constructor.

    Properties

    EventInfo

    Gets the event metadata associated with the node.

    Declaration
    public EventInfo EventInfo { get; }
    Property Value
    Type Description
    System.Reflection.EventInfo

    The event metadata for the node.

    Name

    Gets the display name of the node.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    The display name.

    NodeType

    Gets the type of the node.

    Declaration
    public TreeNodeType NodeType { get; }
    Property Value
    Type Description
    TreeNodeType

    The node type.

    Property

    Gets the property or value associated with the node.

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

    The property or value associated with the node.

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