Language

ISafeAreaElement Interface

Definition

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.

Applies to