Home Notices Documents Classes Download Others Rice
Classes  >  sizechangedeventargs  >  EHSwitch
sizechangedeventargs class : EHSwitch getter

Description

Gets the switch to control the handler execution.

Syntax

sizechangedeventargsInstance.EHSwitch

Arguments

None

Return value

ClassDescription
ehswitchSwitch to control the handler execution.

Sample code

1:

open method void anySizeChangedHandler(sizechangedeventargs scea)

2:

...

3:

ehswitch ehs = scea.EHSwitch;

4:

ehs.Stop(); // Stops handling.

5:

...

6:

endmethod

Notes

The sizechangedeventargs will appear as an argument of the sizechanged event handler.

Links for reference

None.

Copyright © Rice All rights reserved.