C# Class Castle.MonoRail.Framework.Views.Aspx.EventUtil

Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
GetCompatibleEvents ( Control control ) : EventDescriptorCollection
GetCompatibleEvents ( Control control, Predicate filter ) : EventDescriptorCollection
GetDefaultEvent ( Control control ) : System.ComponentModel.EventDescriptor
GetDefaultEvent ( Control control, Predicate filter ) : System.ComponentModel.EventDescriptor
GetDefaultEventName ( Control control ) : string
GetEvent ( Control control, string eventName ) : System.ComponentModel.EventDescriptor
GetEventArgsType ( Control control, string eventName ) : Type
GetEventArgsType ( System.ComponentModel.EventDescriptor eventDescriptor ) : Type
HasCompatibleEvents ( Control control ) : bool
IsCommandEvent ( Control control, string eventName ) : bool
IsCommandEvent ( System.ComponentModel.EventDescriptor eventDescriptor ) : bool

Private Methods

Method Description
IsCompatibleEvent ( System.ComponentModel.EventDescriptor eventDescriptor, Type eventArgsType ) : bool

Method Details

GetCompatibleEvents() public static method

public static GetCompatibleEvents ( Control control ) : EventDescriptorCollection
control System.Web.UI.Control
return System.ComponentModel.EventDescriptorCollection

GetCompatibleEvents() public static method

public static GetCompatibleEvents ( Control control, Predicate filter ) : EventDescriptorCollection
control System.Web.UI.Control
filter Predicate
return System.ComponentModel.EventDescriptorCollection

GetDefaultEvent() public static method

public static GetDefaultEvent ( Control control ) : System.ComponentModel.EventDescriptor
control System.Web.UI.Control
return System.ComponentModel.EventDescriptor

GetDefaultEvent() public static method

public static GetDefaultEvent ( Control control, Predicate filter ) : System.ComponentModel.EventDescriptor
control System.Web.UI.Control
filter Predicate
return System.ComponentModel.EventDescriptor

GetDefaultEventName() public static method

public static GetDefaultEventName ( Control control ) : string
control System.Web.UI.Control
return string

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

GetEventArgsType() public static method

public static GetEventArgsType ( Control control, string eventName ) : Type
control System.Web.UI.Control
eventName string
return System.Type

GetEventArgsType() public static method

public static GetEventArgsType ( System.ComponentModel.EventDescriptor eventDescriptor ) : Type
eventDescriptor System.ComponentModel.EventDescriptor
return System.Type

HasCompatibleEvents() public static method

public static HasCompatibleEvents ( Control control ) : bool
control System.Web.UI.Control
return bool

IsCommandEvent() public static method

public static IsCommandEvent ( Control control, string eventName ) : bool
control System.Web.UI.Control
eventName string
return bool

IsCommandEvent() public static method

public static IsCommandEvent ( System.ComponentModel.EventDescriptor eventDescriptor ) : bool
eventDescriptor System.ComponentModel.EventDescriptor
return bool