Retrieves or sets a value that indicates whether the control allows renaming items.
Type | Description | |||
Boolean | A boolean expression that indicates whether the control allows renaming items. |
By default, the AllowRename property is False. The AllowRename property specifies whether the control allows renaming files or folders. If the AllowRename property is True, a file/folder can be renamed at runtime, by pressing F2 or by pressing twice the left mouse button. Use the AllowContextMenu property to specify whether the control displays the file/folder's context menu when user does a right click. Use the ExecuteContextCommand method to execute a command from the file's context menu.