Udostępnij za pośrednictwem


CompositionDrawingSurface.Scroll Method

Definition

Overloads

Scroll(PointInt32)

Scrolls the drawing surface.

Scroll(PointInt32, RectInt32)

Scrolls the drawing surface.

Scroll(PointInt32)

Scrolls the drawing surface.

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)

Parameters

offset
PointInt32

The scrolling offset.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

Scroll(PointInt32, RectInt32)

Scrolls the drawing surface.

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)

Parameters

offset
PointInt32

The scrolling offset.

scrollRect
RectInt32

The scrolling rectangle.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to