public override void UnregisterEvents(ISvgEventCaller caller) { //unregister base events base.UnregisterEvents(caller); //unregister change event caller.UnregisterAction(this.ID + "/onchange"); }
/// <summary> /// Use this method to provide your implementation ISvgEventCaller to unregister Actions /// </summary> /// <param name="caller"></param> public virtual void UnregisterEvents(ISvgEventCaller caller) { if (caller != null && !string.IsNullOrEmpty(this.ID)) { var rpcID = this.ID + "/"; caller.UnregisterAction(rpcID + "onclick"); caller.UnregisterAction(rpcID + "onmousedown"); caller.UnregisterAction(rpcID + "onmouseup"); caller.UnregisterAction(rpcID + "onmousemove"); caller.UnregisterAction(rpcID + "onmousescroll"); caller.UnregisterAction(rpcID + "onmouseover"); caller.UnregisterAction(rpcID + "onmouseout"); } }
public override void UnregisterEvents(ISvgEventCaller caller) { //unregister base events base.UnregisterEvents(caller); //unregister change event caller.UnregisterAction(this.ID + "/onchange"); }