Skip to main content

FileManagerSettingsContextMenu.Enabled Property

Gets or sets a value that indicates whether a context menu is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public virtual bool Enabled { get; set; }

Property Value

Type Default Description
Boolean true

true, if the context menu functionality is enabled; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Enabled
ASP.NET Web Forms Controls ASPxFileManager
ASP.NET MVC Extensions FileManagerSettings


Set the Enabled property to true to enable the context menu. Use the FileManagerSettingsContextMenu.Items property to customize the context menu items. If the item collection is empty, the context menu displays default items.

Use the ASPxFileManager.StylesContextMenu property to customize the context menu appearance.




Web Forms (in markup):

<dx:ASPxFileManager ID="FileManager" ClientInstanceName="FileManager" runat="server" >    
    <SettingsContextMenu Enabled="false">

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
FileManager.SettingsContextMenu.Enabled = false;


@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";

    settings.SettingsContextMenu.Enabled = false;

Online Demo

See Also