31 references to TemplatedParent
Microsoft.Maui.Controls (28)
ContentPresenter.cs (1)
25 source: RelativeBindingSource.TemplatedParent,
RadioButton\RadioButton.cs (16)
448 border.SetBinding(BackgroundColorProperty, static (RadioButton rb) => rb.BackgroundColor, source: RelativeBindingSource.TemplatedParent); 449 border.SetBinding(HorizontalOptionsProperty, static (RadioButton rb) => rb.HorizontalOptions, source: RelativeBindingSource.TemplatedParent); 450 border.SetBinding(MarginProperty, static (RadioButton rb) => rb.Margin, source: RelativeBindingSource.TemplatedParent); 451 border.SetBinding(OpacityProperty, static (RadioButton rb) => rb.Opacity, source: RelativeBindingSource.TemplatedParent); 452 border.SetBinding(RotationProperty, static (RadioButton rb) => rb.Rotation, source: RelativeBindingSource.TemplatedParent); 453 border.SetBinding(ScaleProperty, static (RadioButton rb) => rb.Scale, source: RelativeBindingSource.TemplatedParent); 454 border.SetBinding(ScaleXProperty, static (RadioButton rb) => rb.ScaleX, source: RelativeBindingSource.TemplatedParent); 455 border.SetBinding(ScaleYProperty, static (RadioButton rb) => rb.ScaleY, source: RelativeBindingSource.TemplatedParent); 456 border.SetBinding(TranslationYProperty, static (RadioButton rb) => rb.TranslationY, source: RelativeBindingSource.TemplatedParent); 457 border.SetBinding(TranslationXProperty, static (RadioButton rb) => rb.TranslationX, source: RelativeBindingSource.TemplatedParent); 458 border.SetBinding(VerticalOptionsProperty, static (RadioButton rb) => rb.VerticalOptions, source: RelativeBindingSource.TemplatedParent); 460 border.SetBinding(Border.StrokeProperty, static (RadioButton rb) => rb.BorderColor, source: RelativeBindingSource.TemplatedParent); 461 border.SetBinding(Border.StrokeShapeProperty, static (RadioButton rb) => rb.CornerRadius, source: RelativeBindingSource.TemplatedParent, converter: new CornerRadiusToShape()); 462 border.SetBinding(Border.StrokeThicknessProperty, static (RadioButton rb) => rb.BorderWidth, source: RelativeBindingSource.TemplatedParent); 561 contentPresenter.SetBinding(MarginProperty, static (RadioButton radio) => radio.Padding, BindingMode.OneWay, source: RelativeBindingSource.TemplatedParent); 562 contentPresenter.SetBinding(BackgroundColorProperty, static (RadioButton radio) => radio.BackgroundColor, BindingMode.OneWay, source: RelativeBindingSource.TemplatedParent);
TitleBar\TitleBar.cs (11)
358 source: RelativeBindingSource.TemplatedParent); 363 source: RelativeBindingSource.TemplatedParent); 368 source: RelativeBindingSource.TemplatedParent); 383 source: RelativeBindingSource.TemplatedParent); 406 source: RelativeBindingSource.TemplatedParent); 431 source: RelativeBindingSource.TemplatedParent); 436 source: RelativeBindingSource.TemplatedParent); 485 source: RelativeBindingSource.TemplatedParent); 490 source: RelativeBindingSource.TemplatedParent); 509 source: RelativeBindingSource.TemplatedParent); 528 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;