Back to Devexpress

RepositoryItemTextEdit.HideSelection Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtextedit-0e79199b.md

latest1.6 KB
Original Source

RepositoryItemTextEdit.HideSelection Property

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

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool HideSelection { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Overridable Property HideSelection As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

SelectedText

RepositoryItemTextEdit Class

RepositoryItemTextEdit Members

DevExpress.XtraEditors.Repository Namespace