Layout.SafeAreaEdges Property
Definition
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 safe area edges to obey for this layout. The default value is SafeAreaEdges.Default (None - edge to edge).
public:
property Microsoft::Maui::SafeAreaEdges SafeAreaEdges { Microsoft::Maui::SafeAreaEdges get(); void set(Microsoft::Maui::SafeAreaEdges value); };
public Microsoft.Maui.SafeAreaEdges SafeAreaEdges { get; set; }
member this.SafeAreaEdges : Microsoft.Maui.SafeAreaEdges with get, set
Public Property SafeAreaEdges As SafeAreaEdges
Property Value
Remarks
This property controls which edges of the layout should obey safe area insets. Use SafeAreaRegions.None for edge-to-edge content, SafeAreaRegions.All to obey all safe area insets, SafeAreaRegions.Container for content that flows under keyboard but stays out of bars/notch, or SafeAreaRegions.SoftInput for keyboard-aware behavior.