Class TextAttribute
Adds a generic textual element to an element, and also serves as the base class for attributes that describe a value representable as string for an element.
Inheritance
TextAttribute
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
[AttributeUsage(AttributeTargets.All)]
[Serializable]
public class TextAttribute : Attribute, IValueAttribute<string>
Constructors
| Edit this page View SourceTextAttribute(string)
Adds a generic textual element to an element, and also serves as the base class for attributes that describe a value representable as string for an element.
Declaration
public TextAttribute(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | Value of this attribute. |
Properties
| Edit this page View SourceValue
Gets the value associated with this attribute.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string | The value of this attribute. |