src/Runtime/Runtime/System.Windows/ResourceDictionary.cs
/// <summary>
/// Removes all items from this <see cref="ResourceDictionary"/>.
/// </summary>
Removes all items from this .
Removes all items from this .
public void Clear()
        {
            if (this.Count > 0)
            {
                this.RemoveInheritanceContextFromValues();
                this._baseDictionary.Clear();
                this.NotifyOwners(ResourcesChangeInfo.CatastrophicDictionaryChangeInfo);
            }
        }
public void Clear ( ) { if ( this . Count > 0 ) { this . RemoveInheritanceContextFromValues ( ) ; this . _baseDictionary . Clear ( ) ; this . NotifyOwners ( ResourcesChangeInfo . CatastrophicDictionaryChangeInfo ) ; } }
Removes all items from this .
Removes all items from this .
// remove inheritance context from all values that got it from // this dictionary // Notify owners of the change and fire invalidate if already initialized