aspnetmvc-devexpress-dot-web-dot-mvc-1ae32827.md
Represents a (MVC specific) collection of layout items and groups within the FormLayout used in the GridView’s edit form.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public class MVCxGridViewLayoutItemCollection :
GridViewLayoutItemCollection
Public Class MVCxGridViewLayoutItemCollection
Inherits GridViewLayoutItemCollection
The following members return MVCxGridViewLayoutItemCollection objects:
The following example illustrates how to add a command item to the item collection in adaptive layout.
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumnEdit");
The AddCommandItem(String) method gets a command column name that can be specified in the following ways:
settings.Columns.Add(new MVCxGridViewCommandColumn() { Name = "CommandColumnEdit", ShowEditButton = true, Visible = true });
Or…
settings.CommandColumn.Visible = true;
settings.CommandColumn.ShowEditButton = true;
settings.CommandColumn.Name = "CommandColumnEdit";
DevExpress.Web.Internal.IStateManagerTracker
DevExpress.Web.Internal.IPropertiesDirtyTracker
DevExpress.Utils.IAssignableCollection
Object StateManagedCollectionBase Collection LayoutItemCollection GridLayoutItemCollection GridViewLayoutItemCollection MVCxGridViewLayoutItemCollection MVCxGridViewLayoutItemCollection<ModelType>
See Also