Share via


DualScreenInfo Class

Definition

Provides details about the visible areas a layout occupies so the content can be positioned around where the screens split.

public class DualScreenInfo : System.ComponentModel.INotifyPropertyChanged
type DualScreenInfo = class
    interface INotifyPropertyChanged
Inheritance
System.Object
DualScreenInfo
Implements
System.ComponentModel.INotifyPropertyChanged

Constructors

DualScreenInfo(VisualElement)

Properties

Current

Singleton that provides information about how the app window is positioned across both screens.

HingeBounds

A Rectangle representing the absolute screen positioning of the device's hinge.

IsLandscape

Indicates if the device is Landscape.

SpanMode

Indicates the TwoPaneViewMode of the area being watched by this class.

SpanningBounds

When spanned across two regions this will return a Rectangle for each region. If not spanned this will return an empty array.

Methods

GetHingeAngleAsync()

Events

HingeAngleChanged
PropertyChanged

Used to watch for changes of any properties.

Applies to