Home Notices Documents Classes Download Others Rice
Classes  >  navigatingeventargs  >  Cancel
navigatingeventargs class : Cancel getter

Description

Gets a value indicating whether the event will be canceled.

Syntax

navigatingeventargsInstance.Cancel

Arguments

None.

Return value

ClassDescription
boolA value that indicates whether the event will be canceled.

Sample code

1:

open method void anyNavigatingHandler(navigatingeventargs nea)

2:

...

3:

bool cancel = nea.Cancel;

4:

...

5:

endmethod

Notes

When the event will be canceled, returns true. When the event will not be canceled, returns false.

Default value is false.

The navigatingeventargs will appear as an argument of the navigating event handler.

Links for reference

None.

Copyright © Rice All rights reserved.