2 instantiations of DynamicResource
Microsoft.Maui.Controls (1)
SettersExtensions.cs (1)
31
setters.Add(new Setter { Property = property, Value = new
DynamicResource
(key) });
Microsoft.Maui.Controls.Xaml (1)
MarkupExtensions\DynamicResourceExtension.cs (1)
18
return new
DynamicResource
(Key);
10 references to DynamicResource
Microsoft.Maui.Controls (3)
AppThemeBinding.cs (1)
106
if (value is
DynamicResource
dynamicResource)
Setter.cs (2)
79
else if (Value is
DynamicResource
dynamicResource)
102
else if (Value is
DynamicResource
dynamicResource)
Microsoft.Maui.Controls.Build.Tasks (1)
SetPropertiesVisitor.cs (1)
1281
return varValue.VariableType.FullName == typeof(
DynamicResource
).FullName;
Microsoft.Maui.Controls.Xaml (6)
ApplyPropertiesVisitor.cs (2)
526
var
dynamicResource = value as
DynamicResource
;
MarkupExtensions\DynamicResourceExtension.cs (4)
8
public sealed class DynamicResourceExtension : IMarkupExtension<
DynamicResource
>
12
public object ProvideValue(IServiceProvider serviceProvider) => ((IMarkupExtension<
DynamicResource
>)this).ProvideValue(serviceProvider);
14
DynamicResource
IMarkupExtension<
DynamicResource
>.ProvideValue(IServiceProvider serviceProvider)