Home Cooker Classes Others Rice CookerGX
Classes  >  elementeventargs  >  ReturnValue(bool)
elementeventargs class : ReturnValue(bool) setter

Description

Sets the value that indicates whether the event was handled.

Syntax

elementeventargsInstance.ReturnValue = handled

Arguments

ClassNameDescription
boolhandledThe value that indicates whether the event was handled.

Return value

None

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

anyElementeventargs.ReturnValue = true;

Notes

It's a wrapper of the System.Windows.Forms.HtmlElementEventArgs.ReturnValue.

Sets true if the event has been handled. Otherwise, sets false.

Links for reference

Copyright © Rice All rights reserved.