Selector.GetIsSelectionActive Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether the specified Selector has the focus.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Shared Function GetIsSelectionActive ( _ element As DependencyObject _ ) As Boolean
Parameters
- element
- Type: System.Windows.DependencyObject
The Selector to evaluate.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is Nothing. |
Show: