Class TagContainer
Represents metadata associated with a tree node in the script editor.
Inherited Members
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 |
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 |
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. |