LineDisplayAttributes.BlinkRate Property

Definition

Gets or sets the blink rate of the line display.

public:
 property TimeSpan BlinkRate { TimeSpan get(); void set(TimeSpan value); };
TimeSpan BlinkRate();

void BlinkRate(TimeSpan value);
public System.TimeSpan BlinkRate { get; set; }
var timeSpan = lineDisplayAttributes.blinkRate;
lineDisplayAttributes.blinkRate = timeSpan;
Public Property BlinkRate As TimeSpan

Property Value

The blink rate in milliseconds.

Remarks

When the device supports blinking (LineDisplayCapabilities.CanBlink is not NotSupported) this writeable property configures the current blink cycle time. A blink cycle is the period of time when text completes an on-off-on cycle during blinking. After this property is set, the device driver (the Service Object) typically sets the blink rate to the closest supported rate.

When the device does not support blinking (LineDisplayCapabilities.CanBlink is NotSupported) this property is fixed to a value of 0 and cannot be changed.

The default value of this property is 0.

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

Applies to

See also