NevronOpenVision
Nevron.Nov.Dom Namespace / NEvent Class / Create Method / Create(String,NSchema,Type,Boolean,Boolean) Method
event name
schema which owns the event, or null if the event must be considered shared
the type of the event arguments. Must be a NEventArgs derived type
whether the event uses the bubbling routing strategy
whether the event uses the sinking routing strategy
Create(String,NSchema,Type,Boolean,Boolean) Method
Creates a new DOM event with the specified parameters.
Syntax
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
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also