WindowChrome.ResizeBorderThickness 属性


获取或设置一个值,该值表示边框的宽度,用于调整窗口大小尺寸。Gets or sets a value that indicates the width of the border that is used to resize a window.

 property System::Windows::Thickness ResizeBorderThickness { System::Windows::Thickness get(); void set(System::Windows::Thickness value); };
public System.Windows.Thickness ResizeBorderThickness { get; set; }
member this.ResizeBorderThickness : System.Windows.Thickness with get, set
Public Property ResizeBorderThickness As Thickness



用于调整窗口的边框宽度。The width of the border that is used to resize a window.


设置 ResizeBorderThickness 属性以指定用户可在其中单击并拖动以调整窗口大小的区域的宽度。Set the ResizeBorderThickness property to specify the width of the area where a user can click-and-drag to resize a window. 当鼠标指针移到大小调整边框上时,鼠标指针将变为调整大小箭头。The mouse pointer changes to resize arrows when it is moved over the resize border.

此属性可设置为任何非负双精度值。This property can be set to any non-negative double value. 这些值可以是不一致的。The values can be non-uniform. 默认情况下,重设大小边框将使用系统值来模拟标准窗口的行为。By default, the resize border will use system values to emulate the behavior of a standard window.

此区域仅用于定义用于调整窗口大小的区域;它没有任何与之关联的可视元素。This area is only used to define the region that is used to resize the window; it does not have any visual elements associated with it. 但是,它会影响调整边框内的元素的布局。However, it does affect the layout of elements inside the resize border.

依赖项属性信息Dependency Property Information

标识符字段Identifier field ResizeBorderThicknessProperty
元数据属性设置为 trueMetadata properties set to true None