Attempts to move focus from this element to another element. The direction to move focus is specified by a guidance direction, which is interpreted within the organization of the visual parent for this element.
Public Overridable Function MoveFocus ( _ request As TraversalRequest _ ) As Boolean
Dim instance As UIElement Dim request As TraversalRequest Dim returnValue As Boolean returnValue = instance.MoveFocus(request)
public virtual bool MoveFocus( TraversalRequest request )
public: virtual bool MoveFocus( TraversalRequest^ request )
public function MoveFocus( request : TraversalRequest ) : boolean
You cannot use methods in XAML.
Make sure you check the return value of this method. A return value of false might be returned if the traversal runs into a tab stop that is defined by a control's composition, and the traversal request did not request to wrap.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003