private void SearchButton_Click(object sender, RoutedEventArgs e) { IsSearchRegionVisible = true; // Given that binding and layouting might take a few cycles, when calling UpdateLayout // we can guarantee that the focus call will be able to find an open ASB SearchRegion.UpdateLayout(); SearchRegion.Focus(FocusState.Programmatic); }