Beispiel #1
0
        /// <summary>
        /// Clears the local value of a property
        /// </summary>
        public void ClearValue(DependencyProperty dp)
        {
            INTERNAL_PropertyStorage storage;

            if (INTERNAL_PropertyStore.TryGetStorage(this, dp, false /*don't create*/, out storage))
            {
                INTERNAL_PropertyStore.ClearValueCommon(storage);
            }
        }