src/Runtime/Runtime/System.Windows/ResourceDictionary.cs
/// <summary>
/// Removes the owners of this ResourceDictionary from the given
/// merged dictionary.  The merged dictionary will be left with
/// whatever owners it had before being merged.
/// </summary>
/// <param name="mergedDictionary"></param>
Removes the owners of this ResourceDictionary from the given
merged dictionary.  The merged dictionary will be left with
whatever owners it had before being merged.
Removes the owners of this ResourceDictionary from the given merged dictionary . The merged dictionary will be left with whatever owners it had before being merged .
internal void RemoveParentOwners(ResourceDictionary mergedDictionary)
        {
            if (this._ownerFEs != null)
            {
                foreach (FrameworkElement fe in this._ownerFEs)
                {
                    mergedDictionary.RemoveOwner(fe);
                }
            }
            if (this._ownerApps != null)
            {
                Debug.Assert(this._ownerApps.Count > 0);
                foreach (Application app in this._ownerApps)
                {
                    mergedDictionary.RemoveOwner(app);
                }
            }
        }
internal void RemoveParentOwners ( ResourceDictionary mergedDictionary ) { if ( this . _ownerFEs != null ) { foreach ( FrameworkElement fe in this . _ownerFEs ) { mergedDictionary . RemoveOwner ( fe ) ; } } if ( this . _ownerApps != null ) { Debug . Assert ( this . _ownerApps . Count > 0 ) ; foreach ( Application app in this . _ownerApps ) { mergedDictionary . RemoveOwner ( app ) ; } } }
Removes the owners of this ResourceDictionary from the given
merged dictionary.
Removes the owners of this ResourceDictionary from the given merged dictionary .
mergedDictionary
ResourceDictionary
None