ItemAutomationPeer::SetFocusCore Method ()

 

Sets the keyboard input focus on the specified UIElement. The UIElement corresponds to the data item in the Items collection that is associated with this ItemAutomationPeer.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void SetFocusCore() override

This method is called by SetFocus.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: