FormTreeControl.allowEdit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
allowEdit() |
Determines whether the user can modify the contents of the control. |
allowEdit(Boolean) |
allowEdit()
Determines whether the user can modify the contents of the control.
public:
override bool allowEdit();
public override bool allowEdit ();
override this.allowEdit : unit -> bool
Public Overrides Function allowEdit () As Boolean
Returns
true if the control can be modified; otherwise, false.
Remarks
When this property is set on a container control, modifications are disabled or enabled for all controls in the container.
The following example shows how to return and set the value of the allowEdit property.
// Return the value.
info (strfmt("allowEdit: %1", this.allowEdit()));
// Set the value.
this.allowEdit(false);