MobileCapabilities.ScreenPixelsWidth 属性

定义

返回显示的近似宽度(以像素为单位)。Returns the approximate width of the display, in pixels.

public:
 virtual property int ScreenPixelsWidth { int get(); };
public virtual int ScreenPixelsWidth { get; }
member this.ScreenPixelsWidth : int
Public Overridable ReadOnly Property ScreenPixelsWidth As Integer

属性值

Int32

显示的大致宽度(以像素为单位)。The approximate width of the display, in pixels. 默认值为 96。The default is 96.

适用于