Retrieves or sets a value indicating whether the control add Rename context menu.
Type
Description
Boolean
A Boolen expression that specifies whether the control allows renaming the
folders.
By default, the CanRename property is False. If the
CanRename property is True, for folders or files that support renaming, the control
inserts into its context menu a new menu item Rename. If the user selects it,
the control will display an edit control where he will be able to change the
name of the folder or file. Use the EnableShellMenu
property to disable control's context menu, when the user right clicks a
folder. Use the QueryContextMenu
event to add new items to the folder's context menu. Use the InvokeRename
method to rename a folder at run-time.