Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  ContentEditable
element class : ContentEditable getter

Description

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

Syntax

elementInstance.ContentEditable

Arguments

None

Return value

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

Sample code

//anyElement is an any instance of element type.

string editable = anyElement.ContentEditable;

Notes

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

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

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

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

Links for reference

Copyright © Rice All rights reserved.