Freezable.OnChanged Method


修改当前 Freezable 对象时调用。Called when the current Freezable object is modified.

 virtual void OnChanged();
protected virtual void OnChanged ();
abstract member OnChanged : unit -> unit
override this.OnChanged : unit -> unit
Protected Overridable Sub OnChanged ()


每当发生 Changed 事件时都将调用此方法。This method is called whenever the Changed event occurs.

Notes to Inheritors

实现从 Freezable派生的类时,可以重写此方法以执行任务。When you implement a class that derives from Freezable, you may override this method to perform tasks.

Applies to

See also