[]
Represents a user-defined tag.
[TypeConverter(typeof(Tag.TagConverter))]
public class Tag : TagBase, ICloneable
Name | Description |
---|---|
Tag(string) | Initializes a new instance of the Tag class with the specified name. |
Tag(string, object) | Initializes a new instance of the Tag class with the specified name and value. |
Tag(string, object, Type) | Initializes a new instance of the Tag class with the specified name, value and type. |
Name | Description |
---|---|
Calculated | Gets or sets a value indicating whether the Value property contains a string with a script expression which must be evaluated when the tag is rendered. |
Description | Gets or sets the description of the tag. If not empty, used as the label in the tag input dialog. (If Description is empty, Name is shown in the input dialog instead.) |
InputParams | Gets or sets a TagInputParams object that is used by the tag input dialog to customize the editor for the current tag. By default, this property is null. |
SerializeValue | Gets or sets a value indicating whether the Value of the current tag should be serialized. The default is true. |
ShowInDialog | Gets or sets a value indicating whether to show the current tag and allow the user to edit its Value in the tags input dialog. The default is true. |
Type | Gets or sets the current tag type. |
Value | Gets or sets the current tag value. |
Name | Description |
---|---|
AssignFrom(NamedCollectionItem) | Copies the properties of the specified object to the current object. |
SetName(string) | Sets the name of the current tag. |