Home Cooker Classes Others Rice
Classes  >  sceva  >  Switch
sceva class : Switch getter

Description

Gets the switch to control the handler execution.

Syntax

scevaInstance.Switch

Arguments

None

Return value

ClassDescription
switchSwitch to control the handler execution.

Sample code

1:

open method void SizeChangedHandler(sceva ea)

2:

...

3:

switch ehs = ea.Switch;

4:

ehs.Stop(); // Stops handling.

5:

...

6:

endmethod

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.