In This Article

SelectionModes Enum

Specifies the types of selection.

[Flags]
public enum SelectionModes

Fields

Name Description
Block

Only a rectangular portion of text is selected instead of the whole line. The selection includes all of the characters captured within the rectangle defined by the first (anchor) character and the last character in the selection.

ContinuousStream

Selection proceeds in a continuous, linear stream from the start of the selection to the end, as in a standard edit control. Entire lines are selected when you move to the next or previous line. This is the default selection mode.

None

No selection is permitted. This value should only be used setting the allowed selection modes and not for setting a specific selection mode on the IEditorViewSelection object.