共用方式為


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

要捲動的資料行或資料列數目。 如果滾動方向為左或右,則會使用資料行;如果滾動方向是向上或向下,則會使用資料列。

傳回

屬性

適用於