The HostReadOnlyEnum type specifies whether
AddNew, Delete or Update are supported by the Host. The
HostReadOnly
property retrieves or sets a value that indicates whether the host is readonly.
The HostReadOnlyEnum type supports the following flags:
| | Name | Value | Description | |
| |
exHostReadOnly | 0
|
The host is read-only.
| |
| |
exHostAllowAddNewItem | 1
|
The host allows adding new items ( it displays the (New) row )
| |
| |
exHostAllowAddEmptyItem | 2
|
The host allows adding new items if the user clicks the empty part of the
control.
| |
| |
exHostAllowAddNewTask | 4
|
The host allow creating new tasks.
| |
| |
exHostAllowAddNewLink | 8
|
The host allows linking the tasks.
| |
| |
exHostAllowAddNew | 13
|
The host allows adding new items, tasks or links.
| |
| |
exHostAllowDeleteItem | 16
|
The host allows deleting the item. The user can delete the object at runtime, by
pressing the Delete key.
| |
| |
exHostAllowDeleteTask | 32
|
The host allows deleting the task. The user can delete the object at runtime, by
pressing the Delete key.
| |
| |
exHostAllowDeleteLink | 64
|
The host allows deleting the link. The user can delete the object at runtime, by
pressing the Delete key.
| |
| |
exHostAllowDelete | 112
|
The host allows deleting new items, tasks or links.
| |
| |
exHostAllowUpdate | 128
|
The host allows updating.
| |
| |
exHostReadWrite | 253
|
The host is read-write. The
exHostReadWrite is a combination of
exHostAllowAddNew,
exHostAllowDelete and
exHostAllowUpdate. You can use the
exHostAllowAddEmptyItem to allow user create new items, once he clicks the empty
part of the control.
| |