Skip to main content
Tab

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.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue(ResizingMode.Live)]
public ResizingMode Visualization { get; set; }

#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 MVC Extensions GridViewSettings
.SettingsResizing .Visualization
MVCxGridViewProperties
.SettingsResizing .Visualization
ASP.NET Web Forms Controls ASPxGridView
.SettingsResizing .Visualization
GridViewProperties
.SettingsResizing .Visualization

#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.

ASPxGridView-PostponeColumnResizing

In the live resizing mode, a grid column is redrawn dynamically during the resizing operation.

ASPxGridView-LiveColumnResizing

#Concept

Resize Columns

#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

See Also