11 references to FindAncestor
Microsoft.Maui.Controls (7)
ContentConverter.cs (2)
69
var source = new RelativeBindingSource(RelativeBindingSourceMode.
FindAncestor
, typeof(ITextElement));
88
var source = new RelativeBindingSource(RelativeBindingSourceMode.
FindAncestor
, typeof(IFontElement));
RelativeBindingSource.cs (5)
21
if ((mode == RelativeBindingSourceMode.
FindAncestor
||
26
$"{nameof(RelativeBindingSourceMode.
FindAncestor
)} and " +
99
case RelativeBindingSourceMode.
FindAncestor
:
137
if (Mode == RelativeBindingSourceMode.
FindAncestor
)
165
Mode == RelativeBindingSourceMode.
FindAncestor
&&
Microsoft.Maui.Controls.Xaml (4)
MarkupExtensions\RelativeSourceExtension.cs (4)
34
if (Mode != RelativeBindingSourceMode.
FindAncestor
&&
46
? RelativeBindingSourceMode.
FindAncestor
56
else if (Mode == RelativeBindingSourceMode.
FindAncestor
||
60
$"{nameof(RelativeBindingSourceMode.
FindAncestor
)} and " +