protected virtual void OnMarginChanged (EventArgs e) { EventHandler eh = (EventHandler)(Events[MarginChangedEvent]); if (eh != null) eh (this, e); } [EditorBrowsable (EditorBrowsableState.Advanced)]