internal static void Set(FrameworkElement element)
        {
            var hook = new VisualStateManagerHook(element);

            element.SetValue(VisualStateManagerHookProperty, hook);
        }
        internal static void Set(FrameworkElement element)
        {
            var hook = new VisualStateManagerHook(element);

            element.SetValue(VisualStateManagerHookProperty, hook);
        }