共用方式為


SystemParameters2.WindowCaptionButtonsLocation 屬性

取得 Rect,指出最小化、最大化及關閉按鈕的預設位置。

命名空間:  Microsoft.Windows.Shell
組件:  Microsoft.Windows.Shell (在 Microsoft.Windows.Shell.dll 中)

語法

'宣告
Public Property WindowCaptionButtonsLocation As Rect
    Get
    Private Set
public Rect WindowCaptionButtonsLocation { get; private set; }
public:
property Rect WindowCaptionButtonsLocation {
    Rect get ();
    private: void set (Rect value);
}
member WindowCaptionButtonsLocation : Rect with get, private set
function get WindowCaptionButtonsLocation () : Rect
private function set WindowCaptionButtonsLocation (value : Rect)

屬性值

型別:System.Windows.Rect
物件,指出最小化、最大化及關閉按鈕的預設位置。

.NET Framework 安全性

請參閱

參考

SystemParameters2 類別

Microsoft.Windows.Shell 命名空間