MarkupLabelCssData Class
Provides a store for CSS data.
public class MarkupLabelCssData
- Inheritance:
- object object
Constructors
MarkupLabelCssData()
Initializes an instance of the class.
public MarkupLabelCssData()
Properties
BackgroundColor
The background Color.
Color
The foreground Color.
FontFamily
The name of the font family.
FontSize
The font size.
FontStyle
A MarkupLabelFontStyle indicating the font style.
FontWeight
A MarkupLabelFontWeight indicating the font weight.
TextDecoration
A MarkupLabelTextDecoration indicating the text decoration.
public MarkupLabelTextDecoration TextDecoration { get; set; }
Property Value
Methods
Parse(MarkupLabelCssData, string)
Parses CSS data into a new MarkupLabelCssData object.
public static MarkupLabelCssData Parse(MarkupLabelCssData cssData, string css)
| Parameter | Type | Description |
|---|---|---|
| cssData | MarkupLabelCssData | A template MarkupLabelCssData. |
| css | string | The css string of data. |
Returns
- MarkupLabelCssData:
The MarkupLabelCssData that was created.
ToString()
Returns the string representation of this object.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()