Nyelv

SystemParameters.PrimaryScreenWidth Tulajdonság

Definíció

Olyan értéket kap, amely az elsődleges megjelenítési monitor DPI-hez igazított képpontban kifejezett képernyőszélességét jelzi.

public:
 static property double PrimaryScreenWidth { double get(); };
public static double PrimaryScreenWidth { [System.Security.SecurityCritical] get; }
public static double PrimaryScreenWidth { get; }
[<get: System.Security.SecurityCritical>]
static member PrimaryScreenWidth : double
static member PrimaryScreenWidth : double
Public Shared ReadOnly Property PrimaryScreenWidth As Double

Tulajdonság értéke

A képernyő szélessége.

Attribútumok

Megjegyzések

Térképek SM_CXSCREEN. Lásd: GetSystemMetrics.

XAML-attribútumok használata

< object property="{ SystemParameters.PrimaryScreenWidth}"/>

A következőre érvényes: