LineDisplayWindow.TryScrollTextAsync 方法

定义

滚动窗口文本内容,指定方向上的指定行数。

public:
 virtual IAsyncOperation<bool> ^ TryScrollTextAsync(LineDisplayScrollDirection direction, unsigned int numberOfColumnsOrRows) = TryScrollTextAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryScrollTextAsync(LineDisplayScrollDirection const& direction, uint32_t const& numberOfColumnsOrRows);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryScrollTextAsync(LineDisplayScrollDirection direction, uint numberOfColumnsOrRows);
function tryScrollTextAsync(direction, numberOfColumnsOrRows)
Public Function TryScrollTextAsync (direction As LineDisplayScrollDirection, numberOfColumnsOrRows As UInteger) As IAsyncOperation(Of Boolean)

参数

direction
LineDisplayScrollDirection

滚动文本的方向。

numberOfColumnsOrRows
UInt32

unsigned int

uint32_t

要滚动的列数或行数。 如果滚动方向向左或向右,则使用列;如果滚动方向为向上或向下,则使用行。

返回

属性

适用于