BaseColumn.AllowResizing Property

Gets or sets whether an end user can resize this column. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll

Declaration

public DefaultBoolean AllowResizing { get; set; }

Property Value

Type Description
DefaultBoolean

Specifies whether an end user can resize this column.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

End users are allowed to resize columns if the view’s TableView.AllowResizing property is set to true. Individual columns provide the AllowResizing property, allowing the default behavior specified by the view, to be overridden. Setting this property to true or false overrides the default behavior. This can be useful when it is required to prevent an end user from resizing individual columns.

If the AllowResizing property is set to Default, the ability to resize columns is controlled by the view’s TableView.AllowResizing property. In this instance, to obtain whether an end user can resize a column, use the BaseColumn.ActualAllowResizing property.

To learn more, see Columns Layout and Width.

See Also