Implemented interface member:
property
Padding
Microsoft.Maui.Controls.IPaddingElement.Padding
24 writes to Padding
Microsoft.Maui.Controls.Foldable (24)
TwoPaneView.cs (24)
528
_content1.
Padding
= new Thickness(pane1.X, 0, 0, 0);
529
_content2.
Padding
= new Thickness(0, 0, newWidth - pane1.Width, 0);
533
_content1.
Padding
= new Thickness(0, 0, 0, 0);
534
_content2.
Padding
= new Thickness(0, 0, 0, 0);
546
_content2.
Padding
= new Thickness(pane1.X, 0, 0, 0);
547
_content1.
Padding
= new Thickness(0, 0, newWidth - pane1.Width, 0);
551
_content1.
Padding
= new Thickness(0, 0, 0, 0);
552
_content2.
Padding
= new Thickness(0, 0, 0, 0);
564
_content1.
Padding
= new Thickness(0, pane1.Y, 0, 0);
565
_content2.
Padding
= new Thickness(0, 0, 0, newHeight - pane1.Height);
569
_content1.
Padding
= new Thickness(0, 0, 0, 0);
570
_content2.
Padding
= new Thickness(0, 0, 0, 0);
583
_content2.
Padding
= new Thickness(0, pane1.Y, 0, 0);
584
_content1.
Padding
= new Thickness(0, 0, 0, newHeight - pane1.Height);
588
_content1.
Padding
= new Thickness(0, 0, 0, 0);
589
_content2.
Padding
= new Thickness(0, 0, 0, 0);
600
_content1.
Padding
= new Thickness(pane1.X, pane1.Y, newWidth - pane1.Width - pane1.X, newHeight - pane1.Height - pane1.Y);
601
_content2.
Padding
= new Thickness(0, 0, 0, 0);
605
_content1.
Padding
= new Thickness(0, 0, 0, 0);
606
_content2.
Padding
= new Thickness(0, 0, 0, 0);
616
_content1.
Padding
= new Thickness(0, 0, 0, 0);
618
_content2.
Padding
= new Thickness(pane1.X, pane1.Y, newWidth - pane1.Width - pane1.X, newHeight - pane1.Height - pane1.Y);
622
_content1.
Padding
= new Thickness(0, 0, 0, 0);
623
_content2.
Padding
= new Thickness(0, 0, 0, 0);
16 references to Padding
Microsoft.Maui.Controls (14)
Frame\Frame.cs (1)
124
var inset =
Padding
;
LegacyLayouts\Layout.cs (11)
105
/// <summary>Bindable property for <see cref="
Padding
"/>.</summary>
202
SizeRequest size = base.Measure(widthConstraint -
Padding
.HorizontalThickness, heightConstraint -
Padding
.VerticalThickness, flags);
205
return new SizeRequest(new Size(size.Request.Width +
Padding
.HorizontalThickness, size.Request.Height +
Padding
.VerticalThickness),
206
new Size(size.Minimum.Width +
Padding
.HorizontalThickness, size.Minimum.Height +
Padding
.VerticalThickness));
458
double x =
Padding
.Left;
459
double y =
Padding
.Top;
460
double w = Math.Max(0, width -
Padding
.HorizontalThickness);
461
double h = Math.Max(0, height -
Padding
.VerticalThickness);
LegacyLayouts\StackLayout.cs (1)
89
Thickness padding =
Padding
;
RadioButton\RadioButton.cs (1)
561
contentPresenter.SetBinding(MarginProperty, static (RadioButton radio) => radio.
Padding
, BindingMode.OneWay, source: RelativeBindingSource.TemplatedParent);
Microsoft.Maui.Controls.Compatibility (2)
Tizen\Renderers\ScrollViewRenderer.cs (2)
97
Control.ContentContainer.Children[0].SizeWidth = Forms.ConvertToScaledPixel(Element.ContentSize.Width + Element.
Padding
.HorizontalThickness);
98
Control.ContentContainer.Children[0].SizeHeight = Forms.ConvertToScaledPixel(Element.ContentSize.Height + Element.
Padding
.VerticalThickness);