SystemParameters.WorkArea 屬性

定義

取得主顯示器上工作區域的大小。

public:
 static property System::Windows::Rect WorkArea { System::Windows::Rect get(); };
public static System.Windows.Rect WorkArea { get; }
static member WorkArea : System.Windows.Rect
Public Shared ReadOnly Property WorkArea As Rect

屬性值

會接收工作區域座標的 RECT 結構 (以虛擬螢幕座標表示)。

備註

工作區是系統工作列或應用程式桌面工具列未遮蔽的畫面部分。

對應至SPI_GETWORKAREA。 請參閱 SystemParametersInfo

XAML 屬性用法

<object property=「{ SystemParameters.WorkArea } 」/>

適用於