Export (0) Print
Expand All

DrawingGroup.Clone Method

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

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

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

Return Value

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

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

When this method copies dependency properties, it copies resource references and data bindings although they might no longer resolve. It does not copy animations or their current values.

For more information, see Freezable.Clone.

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

Community Additions

ADD
Show:
© 2014 Microsoft