TextBoxBase.IsSelectionActive Property

.NET Framework (current version)
 

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

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool IsSelectionActive { get; }

Property Value

Type: System.Boolean

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.

Identifier field

IsSelectionActiveProperty

Metadata properties set to true

None

.NET Framework
Available since 4.5
Return to top
Show: