LineDisplayWindow.TryScrollTextAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
滚动窗口文本内容,指定方向上的指定行数。
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
要滚动的列数或行数。 如果滚动方向向左或向右,则使用列;如果滚动方向为向上或向下,则使用行。
返回
- 属性