Class Term
object representing part of CSS property's value
Inheritance
System.Object
Term
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.CssParsing
Assembly: EPiServer.Framework.dll
Version: 8.11.0Syntax
public class Term
Constructors
Term()
Declaration
public Term()
Properties
Function
Gets or sets the function.
Declaration
public CssFunction Function { get; set; }
Property Value
Type | Description |
---|---|
CssFunction | The function. |
IsColor
Gets a value indicating whether this instance is color.
Declaration
public bool IsColor { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Separator
Gets or sets the separator.
Declaration
public char? Separator { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Char> | The separator. |
Sign
Gets or sets the sign.
Declaration
public char? Sign { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Char> | The sign. |
TermType
Gets or sets the type of the term.
Declaration
public TermType TermType { get; set; }
Property Value
Type | Description |
---|---|
TermType | The type of the term. |
Unit
Gets or sets the unit.
Declaration
public Unit? Unit { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Unit> | The unit. |
Value
Gets or sets the value.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The value. |
Methods
ToColor()
Translates current term to the color.
Declaration
public Color ToColor()
Returns
Type | Description |
---|---|
System.Drawing.Color |
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()