'Declaration Protected Overrides Sub OnIsKeyboardFocusWithinChanged( _ ByVal e As DependencyPropertyChangedEventArgs _ )
protected override void OnIsKeyboardFocusWithinChanged( DependencyPropertyChangedEventArgs e )
This method is overridden to ensure that when the value editor receives keyboard focus, its focus site (the element designated as PART_FocusSite in the control template) is given the keyboard focus. For example, when XamTextEditor receives keyboard focus, it gives keyboard focus to the TextBox control that it uses for editing. This way all the keyboard messages get delivered to the TextBox control.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2