ISafeAreaElement Interface
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.
Defines how a view's content is positioned relative to safe area regions.
public interface class ISafeAreaElement
public interface ISafeAreaElement
type ISafeAreaElement = interface
Public Interface ISafeAreaElement
- Derived
Remarks
Implement this interface on a custom IView to participate in .NET MAUI safe area handling on supported platforms.
Properties
| Name | Description |
|---|---|
| SafeAreaEdges |
Gets the safe area regions that the view should avoid for each edge. |
Extension Methods
| Name | Description |
|---|---|
| GetEffectiveSafeAreaEdges(ISafeAreaElement) |
Gets the effective safe area configuration used by .NET MAUI platform handlers. |