New to Telerik UI for WPFStart a free 30-day trial

Specifies the selection modification when the control is focus.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public enum SelectionOnFocus

Fields

The caret will be moved at the start of the text.

C#
CaretToBeginning = 2

The caret will be moved at the end of the text.

C#
CaretToEnd = 3

The default.

C#
Default = 4

Default will be used when focusing the control with mouse click. SelectAll will be used when focusing the control with the Tab key.

C#
DefaultSelectAll = 5

The whole text will be selected.

C#
SelectAll = 1

Selection will not be modified.

C#
Unchanged = 0