ZennoLab Assemblies Documentation
RiseEvent Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : RiseEvent Method
eventName

Type: System.String

The name of the event.

emulation

Type: System.String

The emulation level. Can be: "None", "Middle" or "Full".

Glossary Item Box

The performs the specified event for html element.

Syntax

C# 
public void RiseEvent( 
   string eventName,
   string emulation
)

Parameters

eventName

Type: System.String

The name of the event.

emulation

Type: System.String

The emulation level. Can be: "None", "Middle" or "Full".

Remarks

The emulation levels:

"Full" - the full emulation which include the generation of all events such as mouseover, mousemove, mouseout, focus on element and other.
"Middle" - the standard emulation level includes a minimum of actions without additional events.
"None" - the default emulation level without additional events and actions.

Example

The following code example demonstrates uses of the RiseEvent method.
C#Copy Code
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// rise event
he.RiseEvent("onclick", "full");
PHPCopy Code
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// rise event
$he->RiseEvent("onclick", "full");

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2014 All Rights Reserved.