3 implementations of IStyle
Microsoft.Maui.Controls (3)
MergedStyle.cs (1)
11
sealed class MergedStyle :
IStyle
Style.cs (1)
12
public sealed class Style :
IStyle
StyleSheets\StyleSheet.cs (1)
15
public sealed class StyleSheet :
IStyle
18 references to IStyle
Microsoft.Maui.Controls (18)
Element\Element_StyleSheets.cs (1)
68
((
IStyle
)sheets[i]).Apply(bo, new SetterSpecificity());
MergedStyle.cs (10)
27
IStyle
_implicitStyle;
29
IStyle
_style;
41
public
IStyle
Style
94
IStyle
ImplicitStyle
112
((
IStyle
)classStyle)?.Apply(bindable, new SetterSpecificity(SetterSpecificity.StyleLocal, 0, 1, 0));
124
((
IStyle
)classStyle)?.UnApply(bindable);
187
void SetStyle(
IStyle
implicitStyle, IList<Style> classStyles,
IStyle
style)
197
((
IStyle
)classStyle)?.UnApply(Target);
212
((
IStyle
)classStyle)?.Apply(Target, new SetterSpecificity(SetterSpecificity.StyleLocal, 0, 1, 0));
Style.cs (4)
93
void
IStyle
.Apply(BindableObject bindable, SetterSpecificity specificity)
113
void
IStyle
.UnApply(BindableObject bindable)
166
((
IStyle
)basedOn).Apply(bindable, specificity.AsBaseStyle());
194
((
IStyle
)basedOn).UnApply(bindable);
StyleSheets\StyleSheet.cs (3)
95
Type
IStyle
.TargetType => typeof(VisualElement);
97
void
IStyle
.Apply(BindableObject bindable, SetterSpecificity setterspecificity)
118
void
IStyle
.UnApply(BindableObject bindable) => throw new NotImplementedException();