DropShadowEffect.Clone 方法

定义

创建此 Effect 对象的可修改复本,从而深度复制此对象的值。Creates a modifiable clone of this Effect object, making deep copies of this object's values. 在复制此对象的依赖项属性时,此方法复制资源引用和数据绑定(可能不再解析),但不复制动画或其当前值。When copying this object's dependency properties, this method copies resource references and data bindings (which may no longer resolve), but not animations or their current values.

public:
 System::Windows::Media::Effects::DropShadowEffect ^ Clone();
public System.Windows.Media.Effects.DropShadowEffect Clone ();
override this.Clone : unit -> System.Windows.Media.Effects.DropShadowEffect
Public Function Clone () As DropShadowEffect

返回

DropShadowEffect

此实例的可修改复本。A modifiable clone of this instance. 返回的复本实际上是当前对象的深层副本。The returned clone is effectively a deep copy of the current object. 该复本的 IsFrozen 属性为 falseThe clone's IsFrozen property is false.

适用于

另请参阅