Castle.MonoRail.Framework.Views.Aspx.EventUtil.GetEvent C# (CSharp) Method

GetEvent() public static method

public static GetEvent ( Control control, string eventName ) : System.ComponentModel.EventDescriptor
control System.Web.UI.Control
eventName string
return System.ComponentModel.EventDescriptor
		public static EventDescriptor GetEvent(Control control, string eventName)
		{
			EventDescriptorCollection events = GetCompatibleEvents(control);
			return events[eventName];
		}