DisplayInformation.DiagonalSizeInInches Property

Definition

Diagonal size of the display in inches.

public:
 property IReference<double> ^ DiagonalSizeInInches { IReference<double> ^ get(); };
IReference<double> DiagonalSizeInInches();
public System.Nullable<double> DiagonalSizeInInches { get; }
var iReference = displayInformation.diagonalSizeInInches;
Public ReadOnly Property DiagonalSizeInInches As Nullable(Of Double)

Property Value

Returns the diagonal size of the display in inches. May return null when display size information is not available or undetermined (when connected to a projector, or displays are duplicated).

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to