protected override void OnLostFocus(RoutedEventArgs e) { base.OnLostFocus(e); if (!HasText) LabelText = "Search"; }