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