Edytuj

Udostępnij za pośrednictwem


ItemAutomationPeer.HasKeyboardFocusCore Method

Definition

Gets a value that indicates whether the specified UIElement currently has keyboard input focus.

protected:
 override bool HasKeyboardFocusCore();
protected override bool HasKeyboardFocusCore ();
override this.HasKeyboardFocusCore : unit -> bool
Protected Overrides Function HasKeyboardFocusCore () As Boolean

Returns

true if the specified UIElement has keyboard input focus; otherwise, false.

Remarks

The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer. This method is called by HasKeyboardFocus.

Applies to

See also