Class StyleSelector

Namespace
Forma.Xaml
Assembly
Forma.dll
public sealed class StyleSelector
Inheritance
StyleSelector
Inherited Members

Constructors

StyleSelector(IReadOnlyList<StyleSelectorArm>)

public StyleSelector(IReadOnlyList<StyleSelectorArm> arms)

Parameters

arms IReadOnlyList<StyleSelectorArm>

Properties

Arms

public IReadOnlyList<StyleSelectorArm> Arms { get; }

Property Value

IReadOnlyList<StyleSelectorArm>

Classes

public IReadOnlyList<string> Classes { get; }

Property Value

IReadOnlyList<string>

Name

public string Name { get; }

Property Value

string

PseudoStates

public IReadOnlyList<string> PseudoStates { get; }

Property Value

IReadOnlyList<string>

Specificity

public int Specificity { get; }

Property Value

int

Text

The selector as written, when it was produced by Parse(string).

public string Text { get; }

Property Value

string

TypeName

public string TypeName { get; }

Property Value

string

Methods

IsStandardPseudoState(string)

public static bool IsStandardPseudoState(string state)

Parameters

state string

Returns

bool

Parse(string)

public static StyleSelector Parse(string selector)

Parameters

selector string

Returns

StyleSelector

ToString()

Returns the selector as text.

public override string ToString()

Returns

string