DualScreenInfo Class

Definition

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

public ref class DualScreenInfo : System::ComponentModel::INotifyPropertyChanged
public class DualScreenInfo : System.ComponentModel.INotifyPropertyChanged
type DualScreenInfo = class
    interface INotifyPropertyChanged
Public Class DualScreenInfo
Implements INotifyPropertyChanged
Inheritance
DualScreenInfo
Implements

Constructors

DualScreenInfo(VisualElement)

Properties

Current

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

HingeBounds

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

IsLandscape

Indicates if the device is Landscape.

SpanMode

Determines the layout direction of the panes: SinglePane, Wide, Tall

SpanningBounds

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

Methods

GetHingeAngleAsync()

Events

HingeAngleChanged

Triggered whenever the hinge angle is changed as a device is folded or unfolded.

PropertyChanged

Used to watch for changes of any properties.

Applies to