LineDisplayCursor 类

定义

表示线条显示光标。

public ref class LineDisplayCursor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class LineDisplayCursor final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LineDisplayCursor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class LineDisplayCursor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LineDisplayCursor
Public NotInheritable Class LineDisplayCursor
继承
Object Platform::Object IInspectable LineDisplayCursor
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

属性

CanCustomize

获取线条显示设备是否支持自定义光标样式。

IsBlinkSupported

获取是否支持光标闪烁。

IsBlockSupported

获取是否支持块游标。

IsHalfBlockSupported

获取是否支持半块游标。

IsOtherSupported

获取是否支持根据游标的 UnifiedPOS) ,其他类型 (未知。

IsReverseSupported

获取是否支持倒置游标。

IsUnderlineSupported

获取是否支持带下划线的游标。

方法

GetAttributes()

获取线条显示光标的属性。

TryUpdateAttributesAsync(LineDisplayCursorAttributes)

尝试异步更新行显示库的属性。

适用于