Skip to main content
Tab

CommandLayoutItem.Name Property

Specifies the command item name.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string Name { get; set; }

Property Value

Type Default Description
String String.Empty

The command item name.

Remarks

GridViewSettings.Columns.Add method:

settings.Columns.Add(new MVCxGridViewCommandColumn() { 
    Name = "CommandColumnEdit", 
    ShowEditButton = true, 
    Visible = true });

GridViewSettings.CommandColumn:

settings.CommandColumn.Visible = true;
settings.CommandColumn.ShowDeleteButton = true;
settings.CommandColumn.ShowEditButton = true;
settings.CommandColumn.Name = "CommandColumn";
...
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumn");
See Also