Export (0) Print
Expand All

WeakEventManager.ListenerList.Clone Method

Creates a modifiable clone of this WeakEventManager.ListenerList, making deep copies of the values.

Namespace: System.Windows
Assembly: WindowsBase (in windowsbase.dll)

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

Return Value

A modifiable clone of the current object. The cloned object's IsFrozen property will be false even if the source's IsFrozen property was true.

When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

This method is used to produce modifiable copies of frozen Freezable objects (or any Freezable object). For convenience, this method shadows the inherited version with a strongly typed implementation.

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