2 types derived from Selector
Microsoft.Maui.Controls (2)
StyleSheets\Selector.cs (2)
137
abstract class UnarySelector :
Selector
141
abstract class Operator :
Selector
17 references to Selector
Microsoft.Maui.Controls (17)
StyleSheets\Selector.cs (10)
12
public static
Selector
Parse(CssReader reader, char stopChar = '\0')
14
Selector
root = All, workingRoot = All;
16
Action<Operator,
Selector
> setCurrentSelector = (op, sel) => SetCurrentSelector(ref root, ref workingRoot, ref workingRootParent, op, sel);
112
static void SetCurrentSelector(ref
Selector
root, ref
Selector
workingRoot, ref Operator workingRootParent, Operator op,
Selector
sel)
134
internal static
Selector
Invalid = new Generic(s => false);
135
internal static
Selector
All = new Generic(s => true);
143
public
Selector
Left { get; set; } = Invalid;
144
public
Selector
Right { get; set; } = Invalid;
StyleSheets\StyleSheet.cs (7)
21
internal IDictionary<
Selector
, Style> Styles { get; set; } = new Dictionary<
Selector
, Style>();
63
var
selector =
Selector
.All;
86
selector =
Selector
.All;
89
selector =
Selector
.Parse(reader, '{');
110
var
selector = kvp.Key;