Selector.GetIsSelectionActive(DependencyObject) Method

Definition

Gets a value that indicates whether the specified Selector has the focus.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.Primitives.Selector.GetIsSelectionActive.

public:
 static bool GetIsSelectionActive(DependencyObject ^ element);
 static bool GetIsSelectionActive(DependencyObject const& element);
public static bool GetIsSelectionActive(DependencyObject element);
function getIsSelectionActive(element)
Public Shared Function GetIsSelectionActive (element As DependencyObject) As Boolean

Parameters

element
DependencyObject

The Selector to evaluate.

Returns

Boolean

bool

true to indicate that the Selector has the focus; otherwise, false.

Applies to