Skip to main content
Tab

ASPxGridViewResizingSettings Class

Provides settings that affect the grid resizing functionality.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public class ASPxGridViewResizingSettings :
    ASPxGridSettingsBase

The following members return ASPxGridViewResizingSettings objects:

Library Related API Members
ASP.NET Web Forms Controls ASPxGridView.SettingsResizing
GridViewProperties.SettingsResizing
ASP.NET MVC Extensions GridViewSettings.SettingsResizing
MVCxGridViewProperties.SettingsResizing

Remarks

An object of the ASPxGridViewResizingSettings type can be accessed via the ASPxGridView.SettingsResizing property.

Concept

Resize Columns

Example

Web Forms (in markup):

<dx:ASPxGridView ID="grid" runat="server" DataSourceID="CustomersDataSource" KeyFieldName="CustomerID" Width="600">
    <Columns>
        ...
    </Columns>
    <SettingsResizing ColumnResizeMode="NextColumn" />
</dx:ASPxGridView>

Web Forms (in code):

grid.SettingsResizing.ColumnResizeMode = ColumnResizeMode.NextColumn;

MVC:

@Html.DevExpress().GridView(settings => {
    settings.Name = "grid";
    settings.SettingsResizing.ColumnResizeMode = ColumnResizeMode.NextColumn;
    ...
}).Bind(Model).GetHtml()

Online Demos

Implements

Inheritance

See Also