FreezableCollection<T>.CloneCurrentValueCore(Freezable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes this instance a modifiable clone (deep copy) of the specified FreezableCollection<T> using current property values.
protected:
override void CloneCurrentValueCore(System::Windows::Freezable ^ source);
protected override void CloneCurrentValueCore (System.Windows.Freezable source);
override this.CloneCurrentValueCore : System.Windows.Freezable -> unit
Protected Overrides Sub CloneCurrentValueCore (source As Freezable)
Parameters
- source
- Freezable
The FreezableCollection<T> to clone.
Remarks
This method is called by the CloneCurrentValue method and should not be called directly from your code, except when calling the base implementation while overriding this method. To create a modifiable copy of the current object, call CloneCurrentValue instead of calling this method directly.
Notes to Inheritors
See the CloneCurrentValueCore(Freezable) page for information about when you should override this method.