Share via


Layout.IgnoreSafeArea Property

Definition

Caution

Use SafeAreaElement.IgnoreSafeArea attached property instead for per-edge safe area control.

Specifies how the View's content should be positioned in relation to obstructions. If this value is false, the content will be positioned only in the unobstructed portion of the screen. If this value is true, the content may be positioned anywhere on the screen. This includes the portion of the screen behind toolbars, screen cutouts, etc.

public:
 property bool IgnoreSafeArea { bool get(); void set(bool value); };
[System.Obsolete("Use SafeAreaElement.IgnoreSafeArea attached property instead for per-edge safe area control.")]
public bool IgnoreSafeArea { get; set; }
public bool IgnoreSafeArea { get; set; }
[<System.Obsolete("Use SafeAreaElement.IgnoreSafeArea attached property instead for per-edge safe area control.")>]
member this.IgnoreSafeArea : bool with get, set
member this.IgnoreSafeArea : bool with get, set
Public Property IgnoreSafeArea As Boolean

Property Value

Attributes

Remarks

This property is deprecated. Use SafeAreaElement.IgnoreSafeArea attached property instead for per-edge safe area control.

Applies to