private void FocusItem(RadElement oldElement, RadElement newElement) { if (newElement == null) { return; } if (oldElement != null) { oldElement.IsMouseOver = false; } this.lastFocused = newElement; newElement.IsMouseOver = true; newElement.Focus(); }