Home Cooker Classes Others Rice
Classes  >  bneva  >  Cancel(bool)
bneva class : Cancel(bool) setter

Description

Sets a value indicating whether the event should be canceled.

Syntax

bnevaInstance.Cancel = cancel

Arguments

ClassNameDescription
boolcancelA value indicating whether the event should be canceled.

Return value

None

Sample code

1:

open method void BeforeNavigateHandler(bneva ea)

2:

...

3:

ea.Cancel = true; // The navigation will be canceled.

4:

...

5:

endmethod

Notes

When want to cancel the event, set true. When do not want to cancel, set false.

Default value is false.

Links for reference

None.

Copyright © Rice All rights reserved.