TextBoxBase.IsSelectionActive Property

Definition

Gets a value that indicates whether the text box has focus and selected text.

public:
 property bool IsSelectionActive { bool get(); };
public bool IsSelectionActive { get; }
member this.IsSelectionActive : bool
Public ReadOnly Property IsSelectionActive As Boolean

Property Value

true if the text box has focus and selected text; otherwise, false.

The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

Dependency Property Information

Identifier field IsSelectionActiveProperty
Metadata properties set to true None

Applies to