TemplatedParent is sometimes null causing NullReferenceException `AssociatedObject.TemplatedParent.SetValue(TextBoxHelper.HasTextProperty, AssociatedObject.Text.Length > 0);`