22 references to TemplatedParent
Microsoft.Maui.Controls (19)
ContentPresenter.cs (1)
25 source: RelativeBindingSource.TemplatedParent,
RadioButton\RadioButton.cs (7)
451 border.SetBinding(HorizontalOptionsProperty, static (RadioButton rb) => rb.HorizontalOptions, source: RelativeBindingSource.TemplatedParent); 452 border.SetBinding(VerticalOptionsProperty, static (RadioButton rb) => rb.VerticalOptions, source: RelativeBindingSource.TemplatedParent); 454 border.SetBinding(Border.StrokeProperty, static (RadioButton rb) => rb.BorderColor, source: RelativeBindingSource.TemplatedParent); 455 border.SetBinding(Border.StrokeShapeProperty, static (RadioButton rb) => rb.CornerRadius, source: RelativeBindingSource.TemplatedParent, converter: new CornerRadiusToShape()); 456 border.SetBinding(Border.StrokeThicknessProperty, static (RadioButton rb) => rb.BorderWidth, source: RelativeBindingSource.TemplatedParent); 555 contentPresenter.SetBinding(MarginProperty, static (RadioButton radio) => radio.Padding, BindingMode.OneWay, source: RelativeBindingSource.TemplatedParent); 556 contentPresenter.SetBinding(BackgroundColorProperty, static (RadioButton radio) => radio.BackgroundColor, BindingMode.OneWay, source: RelativeBindingSource.TemplatedParent);
TitleBar\TitleBar.cs (11)
372 source: RelativeBindingSource.TemplatedParent); 377 source: RelativeBindingSource.TemplatedParent); 382 source: RelativeBindingSource.TemplatedParent); 397 source: RelativeBindingSource.TemplatedParent); 420 source: RelativeBindingSource.TemplatedParent); 445 source: RelativeBindingSource.TemplatedParent); 450 source: RelativeBindingSource.TemplatedParent); 499 source: RelativeBindingSource.TemplatedParent); 504 source: RelativeBindingSource.TemplatedParent); 523 source: RelativeBindingSource.TemplatedParent); 542 source: RelativeBindingSource.TemplatedParent);
Microsoft.Maui.Controls.Xaml (3)
MarkupExtensions\RelativeSourceExtension.cs (1)
70 return RelativeBindingSource.TemplatedParent;
MarkupExtensions\TemplateBindingExtension.cs (2)
40 Source = RelativeBindingSource.TemplatedParent, 54 TypedBinding.Source = RelativeBindingSource.TemplatedParent;