31 references to TemplatedParent
Microsoft.Maui.Controls (28)
ContentPresenter.cs (1)
25
source: RelativeBindingSource.
TemplatedParent
,
RadioButton\RadioButton.cs (16)
450
border.SetBinding(BackgroundColorProperty, static (RadioButton rb) => rb.BackgroundColor, source: RelativeBindingSource.
TemplatedParent
);
451
border.SetBinding(HorizontalOptionsProperty, static (RadioButton rb) => rb.HorizontalOptions, source: RelativeBindingSource.
TemplatedParent
);
452
border.SetBinding(MarginProperty, static (RadioButton rb) => rb.Margin, source: RelativeBindingSource.
TemplatedParent
);
453
border.SetBinding(OpacityProperty, static (RadioButton rb) => rb.Opacity, source: RelativeBindingSource.
TemplatedParent
);
454
border.SetBinding(RotationProperty, static (RadioButton rb) => rb.Rotation, source: RelativeBindingSource.
TemplatedParent
);
455
border.SetBinding(ScaleProperty, static (RadioButton rb) => rb.Scale, source: RelativeBindingSource.
TemplatedParent
);
456
border.SetBinding(ScaleXProperty, static (RadioButton rb) => rb.ScaleX, source: RelativeBindingSource.
TemplatedParent
);
457
border.SetBinding(ScaleYProperty, static (RadioButton rb) => rb.ScaleY, source: RelativeBindingSource.
TemplatedParent
);
458
border.SetBinding(TranslationYProperty, static (RadioButton rb) => rb.TranslationY, source: RelativeBindingSource.
TemplatedParent
);
459
border.SetBinding(TranslationXProperty, static (RadioButton rb) => rb.TranslationX, source: RelativeBindingSource.
TemplatedParent
);
460
border.SetBinding(VerticalOptionsProperty, static (RadioButton rb) => rb.VerticalOptions, source: RelativeBindingSource.
TemplatedParent
);
462
border.SetBinding(Border.StrokeProperty, static (RadioButton rb) => rb.BorderColor, source: RelativeBindingSource.
TemplatedParent
);
463
border.SetBinding(Border.StrokeShapeProperty, static (RadioButton rb) => rb.CornerRadius, source: RelativeBindingSource.
TemplatedParent
, converter: new CornerRadiusToShape());
464
border.SetBinding(Border.StrokeThicknessProperty, static (RadioButton rb) => rb.BorderWidth, source: RelativeBindingSource.
TemplatedParent
);
563
contentPresenter.SetBinding(MarginProperty, static (RadioButton radio) => radio.Padding, BindingMode.OneWay, source: RelativeBindingSource.
TemplatedParent
);
564
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
;