public void SetAnimationValue(DependencyProperty dependencyProperty, object value)
        {
            if (dependencyProperty == null)
            {
                throw new ArgumentNullException("No property specified");
            }

            var storage = INTERNAL_PropertyStore.GetStorage(this, dependencyProperty, createAndSaveNewStorageIfNotExists: true);

            INTERNAL_PropertyStore.SetAnimationValue(storage, value);
        }
Beispiel #2
0
        public void SetAnimationValue(DependencyProperty dependencyProperty, object value)
        {
            if (dependencyProperty == null)
            {
                throw new ArgumentNullException("No property specified");
            }

            INTERNAL_PropertyStorage storage;

            INTERNAL_PropertyStore.TryGetStorage(this, dependencyProperty, true /*create*/, out storage);
            INTERNAL_PropertyStore.SetAnimationValue(storage, value);
        }