Selector.IsSelectionActive Attached Property

Updated: February 2009

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
You cannot set this property in XAML.

Property Value

Type: System.Boolean
true if the keyboard focus is within the Selector control; otherwise, false.

Identifier field


Metadata properties set to true


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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0




February 2009

Added return value information.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft