Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  Disabled(bool)
element class : Disabled(bool) setter

Description

Sets the value that indicates whether the user can interact with the element.

Syntax

elementInstance.Disabled = disabledValue

Arguments

ClassNameDescription
booldisabledValueThe value that indicates whether the user can interact with the element.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.Disabled = true;

Notes

It's a wrapper of the MSHTML.IHTMLElement3.disabled.

If the value is true, the element does not respond to input from the user.

If the value is false, the element respond to input from the user.

Links for reference

Copyright © Rice All rights reserved.