Layout.Padding Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the inner padding of the layout. The default value is a Thickness with all values set to 0.
public:
property Microsoft::Maui::Thickness Padding { Microsoft::Maui::Thickness get(); void set(Microsoft::Maui::Thickness value); };
public Microsoft.Maui.Thickness Padding { get; set; }
member this.Padding : Microsoft.Maui.Thickness with get, set
Public Property Padding As Thickness
The Thickness values for the layout. The default value is a Thickness with all values set to 0.
The padding is the space between the bounds of a layout and the bounding region into which its children should be arranged into.
Product | Versions |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI feedback
.NET MAUI is an open source project. Select a link to provide feedback: