protected virtual void OnMenuItemDataBound (MenuEventArgs e) { if (Events != null) { MenuEventHandler eh = (MenuEventHandler) Events [MenuItemDataBoundEvent]; if (eh != null) eh (this, e); } }