ASPxGridViewResizingSettings.Visualization Property
Gets or sets a value that determines how the column resize process is visually indicated.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
ResizingMode | Live | A ResizingMode enumeration value. |
Available values:
Name | Description |
---|---|
Postponed | An element is redrawn after the resizing operation is finished. |
Live | An element is redrawn dynamically during the resizing operation. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Visualization |
---|---|---|
ASP.NET Web Forms Controls | ASPxGridView |
|
GridViewProperties |
|
|
ASP.NET MVC Extensions | GridViewSettings |
|
MVCxGridViewProperties |
|
Remarks
In the postponed resizing mode, the resizing process is indicated by a frame, and a grid column is redrawn after the resizing operation is finished.
In the live resizing mode, a grid column is redrawn dynamically during the resizing operation.
Concept
Example
Web Forms (in markup):
<dx:ASPxGridView ID="grid" runat="server" DataSourceID="CustomersDataSource" KeyFieldName="CustomerID" Width="600">
<Columns>
...
</Columns>
<SettingsResizing Visualization="Postponed" />
</dx:ASPxGridView>
Web Forms (in code):
grid.SettingsResizing.Visualization = ResizingMode.Postponed;
MVC:
@Html.DevExpress().GridView(settings => {
settings.Name = "grid";
settings.SettingsResizing.Visualization = ResizingMode.Postponed;
...
}).Bind(Model).GetHtml()
Online Demos
- Web Forms: ASPxGridView - Resize columns
- MVC: GridView - Resize Columns