LineDisplayCursorAttributes LineDisplayCursorAttributes LineDisplayCursorAttributes LineDisplayCursorAttributes 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 the attributes of a line display cursor.

public : sealed class LineDisplayCursorAttributes : ILineDisplayCursorAttributespublic sealed class LineDisplayCursorAttributes : ILineDisplayCursorAttributesPublic NotInheritable Class LineDisplayCursorAttributes Implements ILineDisplayCursorAttributes// 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

CursorType CursorType CursorType CursorType

Prerelease. Gets or sets the type of cursor used by the line display.

public : LineDisplayCursorType CursorType { get; set; }public LineDisplayCursorType CursorType { get; set; }Public ReadWrite Property CursorType As LineDisplayCursorType// You can use this property in JavaScript.

Remarks

Changes to this property are committed to the device on the next call to LineDisplayCursor.TryUpdateAttributesAsync(LineDisplayCursorAttributes).

IsAutoAdvanceEnabled IsAutoAdvanceEnabled IsAutoAdvanceEnabled IsAutoAdvanceEnabled

Prerelease. Gets or sets whether automatic advancing of the cursor is enabled.

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

True if automatic advancing is enabled; otherwise, False.

Remarks

When set to True, the cursor’s Position will be automatically updated to point to the next character to be displayed, whenever text is displayed. When False, the cursor position will not be automatically updated when characters are displayed.

Changes to this property are committed to the device on the next call to LineDisplayCursor.TryUpdateAttributesAsync(LineDisplayCursorAttributes).

IsBlinkEnabled IsBlinkEnabled IsBlinkEnabled IsBlinkEnabled

Prerelease. Gets or sets whether blinking is enabled on the cursor.

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

True if blinking is enabled; otherwise, False.

Remarks

Changes to this property are committed to the device on the next call to LineDisplayCursor.TryUpdateAttributesAsync(LineDisplayCursorAttributes).

Position Position Position Position

Prerelease. Gets or sets the position of the cursor.

public : Point Position { get; set; }public Point Position { get; set; }Public ReadWrite Property Position As Point// You can use this property in JavaScript.
Value
Point Point Point Point

The position of the cursor.

Remarks

The maximum cursor position is described by the cursor owner’s LineDisplayWindow.Size property.

The default value of this property is {0,0}.

Changes to this property are committed to the device on the next call to LineDisplayCursor.TryUpdateAttributesAsync(LineDisplayCursorAttributes).