Back to Devexpress

BaseColumn.AllowResizing Property

wpf-devexpress-dot-xpf-dot-grid-dot-basecolumn-a123e584.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public DefaultBoolean AllowResizing { get; set; }
vb
Public Property AllowResizing As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

Specifies whether an end user can resize this column.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

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

ActualAllowResizing

AllowResizing

BaseColumn Class

BaseColumn Members

DevExpress.Xpf.Grid Namespace