Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  ContentEditable(string)
element class : ContentEditable(string) setter

Description

Sets the string that indicates whether the user can edit the content of the element.

Syntax

elementInstance.ContentEditable = ContentEditableString

Arguments

ClassNameDescription
stringContentEditableStringThe string that indicates whether the user can edit the content of the element.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.ContentEditable = "true";

Notes

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

If the set string is "inherit", the contentEditable of the element is inherited from the parent element.

If the set string is "false", the content cannot be edited by the user.

If the set string is "true", the content can be edited by the user.

Links for reference

Copyright © Rice All rights reserved.