/// <summary> /// Sets the focus onto the filter text box. /// </summary> public void FocusFilter() { Dispatcher.BeginInvoke( DispatcherPriority.ContextIdle, new Action(() => TextFilter.Focus())); }