Exemplo n.º 1
0
        public override void UnregisterEvents(ISvgEventCaller caller)
        {
            //unregister base events
            base.UnregisterEvents(caller);

            //unregister change event
            caller.UnregisterAction(this.ID + "/onchange");
        }
Exemplo n.º 2
0
        /// <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");
            }
        }
Exemplo n.º 3
0
 public override void UnregisterEvents(ISvgEventCaller caller)
 {
     //unregister base events
     base.UnregisterEvents(caller);
     
     //unregister change event
     caller.UnregisterAction(this.ID + "/onchange");
     
 }