Share via


LineDisplayAttributes.CurrentWindow Property

Definition

Gets or sets the current window to which text is displayed.

public:
 property LineDisplayWindow ^ CurrentWindow { LineDisplayWindow ^ get(); void set(LineDisplayWindow ^ value); };
LineDisplayWindow CurrentWindow();

void CurrentWindow(LineDisplayWindow value);
public LineDisplayWindow CurrentWindow { get; set; }
var lineDisplayWindow = lineDisplayAttributes.currentWindow;
lineDisplayAttributes.currentWindow = lineDisplayWindow;
Public Property CurrentWindow As LineDisplayWindow

Property Value

The current window to which text is displayed.

Remarks

Setting the current window does not refresh that window's viewport. If the viewports of the current window and another window overlap, and the other window has changed content within the viewport, then refreshWindow may be called to restore the window's viewport contents.

Changes to this property are committed to the device on the next call to ClaimedLineDisplay.TryUpdateAttributesAsync(LineDisplayAttributes).

Applies to

See also