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 命名空间