2 implementations of IProvideParentValues
Microsoft.Maui.Controls.Xaml (2)
XamlServiceProvider.cs (2)
80 class XamlValueTargetProvider : IProvideParentValues, IProvideValueTarget 138 public class SimpleValueTargetProvider : IProvideParentValues, IProvideValueTarget, IReferenceProvider
8 references to IProvideParentValues
Microsoft.Maui.Controls (3)
BindablePropertyConverter.cs (2)
39 if (!(serviceProvider.GetService(typeof(IProvideValueTarget)) is IProvideParentValues parentValuesProvider)) 127 Type FindTypeForVisualState(IProvideParentValues parentValueProvider, IXmlLineInfo lineInfo)
ReferenceTypeConverter.cs (1)
32 if (!(serviceProvider.GetService(typeof(IProvideValueTarget)) is IProvideParentValues valueProvider))
Microsoft.Maui.Controls.Xaml (5)
MarkupExtensions\ReferenceExtension.cs (2)
24 var valueProvider = serviceProvider.GetService<IProvideValueTarget>() as IProvideParentValues
MarkupExtensions\StaticResourceExtension.cs (1)
21 if (serviceProvider.GetService(typeof(IProvideValueTarget)) is not IProvideParentValues valueProvider)
XamlServiceProvider.cs (2)
96 IEnumerable<object> IProvideParentValues.ParentObjects 162 IEnumerable<object> IProvideParentValues.ParentObjects => objectAndParents;