Back to Devexpress

ASPxGridViewBehaviorSettings.ColumnResizeMode Property

aspnet-devexpress-dot-web-dot-aspxgridviewbehaviorsettings-f6e19a0a.md

latest2.6 KB
Original Source

ASPxGridViewBehaviorSettings.ColumnResizeMode Property

OBSOLETE

Use the SettingsResizing.ColumnResizeMode property instead.

Specifies how columns are resized when a user changes a column’s width.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(ColumnResizeMode.Disabled)]
[Obsolete("Use the SettingsResizing.ColumnResizeMode property instead.")]
public ColumnResizeMode ColumnResizeMode { get; set; }
vb
<Obsolete("Use the SettingsResizing.ColumnResizeMode property instead.")>
<DefaultValue(ColumnResizeMode.Disabled)>
Public Property ColumnResizeMode As ColumnResizeMode

Property Value

TypeDefaultDescription
ColumnResizeModeDisabled

One of the enumeration values.

|

Available values:

NameDescription
Disabled

End-users are not allowed to resize columns.

| | Control |

When a user resizes a column, the control changes its width and does not resize other columns.

| | NextColumn |

When a user resizes a column, the control changes the width of its neighbor columns. The control’s width is not changed.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ColumnResizeMode
ASPxGridView

.SettingsBehavior .ColumnResizeMode

| | GridViewProperties |

.SettingsBehavior .ColumnResizeMode

|

Remarks

Note

Use the ASPxGridViewResizingSettings.ColumnResizeMode property instead.

See Also

Grid View

ASPxGridViewBehaviorSettings Class

ASPxGridViewBehaviorSettings Members

DevExpress.Web Namespace