Microsoft.Maui.Controls.Foldable Namespace

Provides classes and supporting types to work with foldable devices. Foldable devices meaning (mostly) mobile devices that have a way of folding the physical device.

Classes

SpanModeStateTrigger

Triggers a state change when the TwoPaneViewMode of the attached layout changes.

TwoPaneView

Layout container with two panes that will position the child content side-by-side or vertically. The relative size of the two panes can be configured, but on a foldable Android device the split will be aligned with the hinge or screen fold.

WindowSpanModeStateTrigger

Triggers a state change when the TwoPaneViewMode of the window changes.

Enums

TwoPaneViewMode

Defines constants that specify how panes are shown in a TwoPaneView.

TwoPaneViewPriority

Defines constants that specify which pane has priority in a TwoPaneView. Affects the rendering of TwoPaneViewTallModeConfiguration and TwoPaneViewWideModeConfiguration

TwoPaneViewTallModeConfiguration

Defines constants that specify how panes are shown in a TwoPaneView in tall mode, determined by TwoPaneViewPriority

TwoPaneViewWideModeConfiguration

Defines constants that specify how panes are shown in a TwoPaneView in wide mode, determined by TwoPaneViewPriority