System.Windows.Forms.TextBoxBase.HideSelection Property

Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool HideSelection { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to keep text highlighted in a text box control while another form or a dialog box has focus, such as a spelling checker dialog box.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0
Since: .NET 2.0