获取 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。