FileManagerSettingsToolbar.ShowRenameButton Property
OBSOLETE
To display the rename button, add an object of the FileManagerToolbarRenameButton type to the SettingsToolbar.Items collection. If the collection is empty, the rename button is displayed provided that the SettingsEditing.AllowRename property is set to true.
Gets or sets a value that specifies whether the rename button is displayed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(true)]
[Obsolete("To display the rename button, add an object of the FileManagerToolbarRenameButton type to the SettingsToolbar.Items collection. If the collection is empty, the rename button is displayed provided that the SettingsEditing.AllowRename property is set to true.")]
public virtual bool ShowRenameButton { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ShowRenameButton |
---|---|---|
ASP.NET Web Forms Controls | ASPxFileManager |
|
RichEditDocumentSelectorSettings |
|
|
SpreadsheetDocumentSelectorSettings |
|
|
ASP.NET MVC Extensions | FileManagerSettings |
|
Remarks
If item renaming is available (the FileManagerSettingsEditing.AllowRename property is set to true
), you can manage the visibility of the rename button via the ShowRenameButton property. If this property is set to false
, end-users can rename items using the shortcut key F2.
The button’s image can be customized by using the FileManagerImages.RenameButton property.