Share via


AppWindowTitleBar.SetDragRectangles(RectInt32[]) Method

Definition

Sets the drag regions for the window.

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())

Parameters

value
RectInt32[]

An array of RectInt32, where each rectangle must be within the client area of the window to which the title bar belongs.

Attributes

Applies to

See also