SafeAreaEdges Struct
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.
Represents safe area settings for each edge of a layout or visual element.
public value class SafeAreaEdges : IEquatable<Microsoft::Maui::SafeAreaEdges>
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Converters.SafeAreaEdgesTypeConverter))]
public readonly struct SafeAreaEdges : IEquatable<Microsoft.Maui.SafeAreaEdges>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Converters.SafeAreaEdgesTypeConverter))>]
type SafeAreaEdges = struct
Public Structure SafeAreaEdges
Implements IEquatable(Of SafeAreaEdges)
- Inheritance
-
SafeAreaEdges
- Attributes
- Implements
Constructors
SafeAreaEdges(SafeAreaRegions, SafeAreaRegions, SafeAreaRegions, SafeAreaRegions) |
Initializes a new instance of the SafeAreaEdges struct with individual values for each edge. |
SafeAreaEdges(SafeAreaRegions, SafeAreaRegions) |
Initializes a new instance of the SafeAreaEdges struct with horizontal and vertical values. |
SafeAreaEdges(SafeAreaRegions) |
Initializes a new instance of the SafeAreaEdges struct with the same value for all edges. |
Properties
All |
A SafeAreaEdges with all edges set to All. |
Bottom |
Gets the safe area behavior for the bottom edge. |
Default |
A SafeAreaEdges with all edges set to None. |
Left |
Gets the safe area behavior for the left edge. |
None |
A SafeAreaEdges with all edges set to None. |
Right |
Gets the safe area behavior for the right edge. |
Top |
Gets the safe area behavior for the top edge. |
Methods
Equals(Object) | |
Equals(SafeAreaEdges) | |
GetHashCode() | |
ToString() |
Operators
Equality(SafeAreaEdges, SafeAreaEdges) | |
Inequality(SafeAreaEdges, SafeAreaEdges) |