GridViewFormLayoutProperties.Items Property
Provides access to the collection of items placed in the edit form layout.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewLayoutItemCollection Items { get; }
#Property Value
Type | Description |
---|---|
Grid |
A collection of layout items. |
#Remarks
The following example illustrates how to use the AddCommandItem(String) and AddColumnItem methods to add a command and data columns.
Web Forms:
ASPxGridView.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumnEdit");
ASPxGridView.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddColumnItem("ProductName");
MVC:
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddCommandItem("CommandColumnEdit");
settings.SettingsAdaptivity.AdaptiveDetailLayoutProperties.Items.AddColumnItem("ProductName");