protected virtual void OnBeginRotate(object sender, BeginRotateEventArgs e) { BeginRotateEventHandler handler = (BeginRotateEventHandler)this.Events[BeginRotateEventKey]; if (handler != null) { handler(sender, e); } }
protected virtual void OnBeginRotate(object sender, BeginRotateEventArgs e) { BeginRotateEventHandler rotateEventHandler = (BeginRotateEventHandler)this.Events[RadRotatorItem.BeginRotateEventKey]; if (rotateEventHandler == null) { return; } rotateEventHandler(sender, e); }