Teanga

WindowInsetsControllerBehavior Enum

Definition

Specifies how hidden system bars are revealed.

public enum WindowInsetsControllerBehavior
type WindowInsetsControllerBehavior = 
Inheritance
WindowInsetsControllerBehavior

Fields

Name Value Description
ShowBarsByTouch 0

Option for SystemBarsBehavior. System bars will be forcibly shown on any user interaction on the corresponding display if navigation bars are hidden by Hide(Int32) or SetInsetsAndAlpha(Insets, Single, Single).

Default 1

The default option for SystemBarsBehavior: Window would like to remain interactive when hiding navigation bars by calling Hide(Int32) or SetInsetsAndAlpha(Insets, Single, Single).

ShowBarsBySwipe 1

Option for SystemBarsBehavior: Window would like to remain interactive when hiding navigation bars by calling Hide(Int32) or SetInsetsAndAlpha(Insets, Single, Single). When system bars are hidden in this mode, they can be revealed with system gestures, such as swiping from the edge of the screen where the bar is hidden from.

ShowTransientBarsBySwipe 2

Option for SystemBarsBehavior: Window would like to remain interactive when hiding navigation bars by calling Hide(Int32) or SetInsetsAndAlpha(Insets, Single, Single). When system bars are hidden in this mode, they can be revealed temporarily with system gestures, such as swiping from the edge of the screen where the bar is hidden from.

Applies to