Skip to main content
Tab

ASPxGridViewCookiesSettings.StoreControlWidth Property

Gets or sets whether a cookie and layout data contain information on the grid control width.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(false)]
public bool StoreControlWidth { get; set; }

#Property Value

Type Default Description
Boolean false

true, to add information on the grid control width to a cookie and layout data; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Library Object Type Path to StoreControlWidth
ASP.NET MVC Extensions GridViewSettings
.SettingsCookies .StoreControlWidth
MVCxGridViewProperties
.SettingsCookies .StoreControlWidth
ASP.NET Web Forms Controls ASPxGridView
.SettingsCookies .StoreControlWidth
GridViewProperties
.SettingsCookies .StoreControlWidth

#Remarks

When the ASPxGridCookiesSettings.Enabled property is set to true, the StoreControlWidth property specifies whether information on the grid control width is saved to a cookie.

Additionally, the StoreControlWidth property specifies whether information on the grid control width is saved to layout data when handling the ASPxGridBase.ClientLayout event or calling the ASPxGridBase.SaveClientLayout method.

See Also