This documentation is archived and is not being maintained.

DrawingGroup.CloneCurrentValue Method

Creates a modifiable deep copy of this DrawingGroup object and makes deep copies of its current values.

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)

public DrawingGroup CloneCurrentValue ()
public DrawingGroup CloneCurrentValue ()
public function CloneCurrentValue () : DrawingGroup
You cannot use methods in XAML.

Return Value

A modifiable clone of the current object. The IsFrozen property of the cloned object is false even if the IsFrozen property of the source is true.

Use this method to produce modifiable copies of read-only Freezable objects. For convenience, this method shadows the inherited version with a strongly typed implementation.

This method does not copy resource references, data bindings, and animations although it does copy their current values.

For more information, see Freezable.CloneCurrentValue.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: