private void AdjustSearchBox()
{
// HACK: Make space for the search image inside the search box
if (SearchBox.Template != null) {
var contentHost = SearchBox.Template.FindName("PART_ContentHost", SearchBox) as FrameworkElement;
if (contentHost != null) {
contentHost.Margin = new Thickness(0, 0, 20, 0);
contentHost.Width = 150;
}
}
}