共用方式為


CompositionDrawingSurface.Scroll 方法

定義

多載

Scroll(PointInt32)

捲動繪圖介面。

Scroll(PointInt32, RectInt32)

捲動繪圖介面。

Scroll(PointInt32)

捲動繪圖介面。

public:
 virtual void Scroll(PointInt32 offset) = Scroll;
/// [Windows.Foundation.Metadata.Overload("Scroll")]
void Scroll(PointInt32 const& offset);
[Windows.Foundation.Metadata.Overload("Scroll")]
public void Scroll(PointInt32 offset);
function scroll(offset)
Public Sub Scroll (offset As PointInt32)

參數

offset
PointInt32

捲動位移。

屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於

Scroll(PointInt32, RectInt32)

捲動繪圖介面。

public:
 virtual void Scroll(PointInt32 offset, RectInt32 scrollRect) = Scroll;
/// [Windows.Foundation.Metadata.Overload("ScrollRect")]
void Scroll(PointInt32 const& offset, RectInt32 const& scrollRect);
[Windows.Foundation.Metadata.Overload("ScrollRect")]
public void Scroll(PointInt32 offset, RectInt32 scrollRect);
function scroll(offset, scrollRect)
Public Sub Scroll (offset As PointInt32, scrollRect As RectInt32)

參數

offset
PointInt32

捲動位移。

scrollRect
RectInt32

捲動矩形。

屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於