共用方式為


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 陣列,其中每個矩形都必須位於標題列所屬視窗的工作區內。

屬性

適用於

另請參閱