public static NEvent Create( System.string name, NSchema ownerSchema, System.Type eventArgsType, System.bool canBubble, System.bool canSink )
Parameters
- name
- event name
- ownerSchema
- schema which owns the event, or null if the event must be considered shared
- eventArgsType
- the type of the event arguments. Must be a NEventArgs derived type
- canBubble
- whether the event uses the bubbling routing strategy
- canSink
- whether the event uses the sinking routing strategy