private static void OnSetCaretToEndEnabledChanged(DependencyObject attachingElement, DependencyPropertyChangedEventArgs e) => TextBoxFocusAttachedBehavior.ObserveAttachedElement(attachingElement, (bool)e.NewValue);
private static void OnAutoSelectTextChanged(DependencyObject attachingElement, DependencyPropertyChangedEventArgs e) => TextBoxFocusAttachedBehavior.ObserveAttachedElement(attachingElement, (bool)e.NewValue);