SetSelection Method (SLPasswordBox)

Action

Selects a range of text in the password box.

Syntax

C#
passwordBox.SetSelection(startPosition, length)
VB
passwordBox.SetSelection(startPosition, length)
Variable Description
startPosition The start index for the selection. The value is zero-based. Integer.
length The number of characters to select from the start position. Integer.