Skip to main content
A newer version of this page is available. .

RepositoryItemTextEdit.HideSelection Property

Gets or sets whether the selection is hidden when moving focus to another control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public virtual bool HideSelection { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the selection in the editor is hidden when moving focus to another control; otherwise, false.

Remarks

If the property value is false, the selected text remains highlighted when the control is not focused.

See Also