Selector.IsSelectionActive Attached Property


Gets a value that indicates whether the keyboard focus is within the value returned by a Selector.

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

See GetIsSelectionActive

Property Value

Type: System.Boolean

true if the keyboard focus is within the Selector control; otherwise, false.

This is a rare case of a read-only attached property. You cannot set it in XAML; it exists so that you can check its value on selected items in code.

Identifier field


Metadata properties set to true


Return to top