Beispiel #1
0
        public void CoerceCurrentValue(DependencyProperty dependencyProperty, PropertyMetadata propertyMetadata)
        {
            var storage = INTERNAL_PropertyStore.GetStorage(this, dependencyProperty, createAndSaveNewStorageIfNotExists: true);

            INTERNAL_PropertyStore.CoerceCurrentValue(storage, propertyMetadata);
        }
Beispiel #2
0
        public void CoerceCurrentValue(DependencyProperty dependencyProperty, PropertyMetadata propertyMetadata)
        {
            var storage = INTERNAL_PropertyStore.GetStorageOrCreateNewIfNotExists(this, dependencyProperty);

            INTERNAL_PropertyStore.CoerceCurrentValue(storage);
        }