1 write to ClassStyles
Microsoft.Maui.Controls (1)
MergedStyle.cs (1)
130
ClassStyles
= _classStyleProperties.Select(p => (Target.GetValue(p) as IList<Style>)?.FirstOrDefault(s => s.CanBeAppliedTo(TargetType))).ToList();
12 references to ClassStyles
Microsoft.Maui.Controls (12)
MergedStyle.cs (12)
50
SetStyle(ImplicitStyle,
ClassStyles
, value);
97
set { SetStyle(value,
ClassStyles
, Style); }
109
if (
ClassStyles
!= null)
110
foreach (var classStyle in
ClassStyles
)
122
if (
ClassStyles
!= null)
123
foreach (var classStyle in
ClassStyles
)
189
bool shouldReApplyStyle = implicitStyle != ImplicitStyle || classStyles !=
ClassStyles
|| Style != style;
190
bool shouldReApplyClassStyle = implicitStyle != ImplicitStyle || classStyles !=
ClassStyles
;
195
if (shouldReApplyClassStyle &&
ClassStyles
!= null)
196
foreach (var classStyle in
ClassStyles
)
209
if (shouldReApplyClassStyle &&
ClassStyles
!= null)
210
foreach (var classStyle in
ClassStyles
)