LineDisplayCursor LineDisplayCursor LineDisplayCursor LineDisplayCursor Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents a line display cursor.

public : sealed class LineDisplayCursor : ILineDisplayCursorpublic sealed class LineDisplayCursor : ILineDisplayCursorPublic NotInheritable Class LineDisplayCursor Implements ILineDisplayCursor// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Properties

CanCustomize CanCustomize CanCustomize CanCustomize

Prerelease. Gets whether the line display device supports customizing the cursor style.

public : PlatForm::Boolean CanCustomize { get; }public bool CanCustomize { get; }Public ReadOnly Property CanCustomize As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the device supports customizing the cursor style; otherwise, False.

IsBlinkSupported IsBlinkSupported IsBlinkSupported IsBlinkSupported

Prerelease. Gets whether cursor blinking is supported.

public : PlatForm::Boolean IsBlinkSupported { get; }public bool IsBlinkSupported { get; }Public ReadOnly Property IsBlinkSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if cursor blinking is supported; otherwise, false.

IsBlockSupported IsBlockSupported IsBlockSupported IsBlockSupported

Prerelease. Gets whether a block cursor is supported.

public : PlatForm::Boolean IsBlockSupported { get; }public bool IsBlockSupported { get; }Public ReadOnly Property IsBlockSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if a block cursor is supported; otherwise, False.

IsHalfBlockSupported IsHalfBlockSupported IsHalfBlockSupported IsHalfBlockSupported

Prerelease. Gets whether a half-block cursor is supported.

public : PlatForm::Boolean IsHalfBlockSupported { get; }public bool IsHalfBlockSupported { get; }Public ReadOnly Property IsHalfBlockSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if a half-block cursor is supported; otherwise, False.

IsOtherSupported IsOtherSupported IsOtherSupported IsOtherSupported

Prerelease. Gets whether another type (unknown as per UnifiedPOS) of cursor is supported.

public : PlatForm::Boolean IsOtherSupported { get; }public bool IsOtherSupported { get; }Public ReadOnly Property IsOtherSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if another type of cursor is supported; otherwise, False.

IsReverseSupported IsReverseSupported IsReverseSupported IsReverseSupported

Prerelease. Gets whether an inverted cursor is supported.

public : PlatForm::Boolean IsReverseSupported { get; }public bool IsReverseSupported { get; }Public ReadOnly Property IsReverseSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if an inverted cursor is supported; otherwise, False.

IsUnderlineSupported IsUnderlineSupported IsUnderlineSupported IsUnderlineSupported

Prerelease. Gets whether an underlined cursor is supported.

public : PlatForm::Boolean IsUnderlineSupported { get; }public bool IsUnderlineSupported { get; }Public ReadOnly Property IsUnderlineSupported As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if an underline cursor is supported; otherwise, False.

Methods

GetAttributes() GetAttributes() GetAttributes() GetAttributes()

Prerelease. Gets the attributes of the line display cursor.

public : LineDisplayCursorAttributes GetAttributes()public LineDisplayCursorAttributes GetAttributes()Public Function GetAttributes() As LineDisplayCursorAttributes// You can use this method in JavaScript.
Returns

TryUpdateAttributesAsync(LineDisplayCursorAttributes) TryUpdateAttributesAsync(LineDisplayCursorAttributes) TryUpdateAttributesAsync(LineDisplayCursorAttributes) TryUpdateAttributesAsync(LineDisplayCursorAttributes)

Prerelease. Attempts to asynchronously update the attributes of the line display curor.

public : IAsyncOperation<PlatForm::Boolean> TryUpdateAttributesAsync(LineDisplayCursorAttributes attributes)public IAsyncOperation<bool> TryUpdateAttributesAsync(LineDisplayCursorAttributes attributes)Public Function TryUpdateAttributesAsync(attributes As LineDisplayCursorAttributes) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Parameters
Returns

Returns True if the attributes were successfully updated; otherwise, False.