Class StyleSelector
public sealed class StyleSelector
- Inheritance
-
StyleSelector
- Inherited Members
Constructors
StyleSelector(IReadOnlyList<StyleSelectorArm>)
public StyleSelector(IReadOnlyList<StyleSelectorArm> arms)
Parameters
Properties
Arms
public IReadOnlyList<StyleSelectorArm> Arms { get; }
Property Value
Classes
public IReadOnlyList<string> Classes { get; }
Property Value
Name
public string Name { get; }
Property Value
PseudoStates
public IReadOnlyList<string> PseudoStates { get; }
Property Value
Specificity
public int Specificity { get; }
Property Value
Text
The selector as written, when it was produced by Parse(string).
public string Text { get; }
Property Value
TypeName
public string TypeName { get; }
Property Value
Methods
IsStandardPseudoState(string)
public static bool IsStandardPseudoState(string state)
Parameters
statestring
Returns
Parse(string)
public static StyleSelector Parse(string selector)
Parameters
selectorstring
Returns
ToString()
Returns the selector as text.
public override string ToString()