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

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 Controls and MVC Extensions ASPxGridView
.SettingsResizing.Visualization
GridViewProperties
.SettingsResizing.Visualization
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsResizing.Visualization
ASP.NET MVC Extensions GridViewSettings
.SettingsResizing.Visualization
GridViewSettings<RowType>
.SettingsResizing.Visualization
MVCxGridView
.SettingsResizing.Visualization
MVCxGridViewProperties
.SettingsResizing.Visualization
MVCxGridViewProperties
.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 (declaratively):

<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