AppWindowTitleBar.SetDragRectangles(RectInt32[]) 方法

定义

为窗口设置拖动区域。

public:
 virtual void SetDragRectangles(Platform::Array <RectInt32> ^ value) = SetDragRectangles;
void SetDragRectangles(winrt::array_view <RectInt32> const& value);
/// [Windows.Foundation.Metadata.Deprecated("Use Microsoft.UI.Input.InputNonClientPointerSource.ConfigureRegion instead of SetDragRectangles.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65540, "Microsoft.Foundation.WindowsAppSDKContract")]
void SetDragRectangles(winrt::array_view <RectInt32> const& value);
public void SetDragRectangles(RectInt32[] value);
[Windows.Foundation.Metadata.Deprecated("Use Microsoft.UI.Input.InputNonClientPointerSource.ConfigureRegion instead of SetDragRectangles.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65540, "Microsoft.Foundation.WindowsAppSDKContract")]
public void SetDragRectangles(RectInt32[] value);
function setDragRectangles(value)
Public Sub SetDragRectangles (value As RectInt32())

参数

value
RectInt32[]

RectInt32个 数组,其中每个矩形都必须位于标题栏所属窗口的工作区内。

属性

适用于

另请参阅