Back to Devexpress

OptionsBand.AllowSize Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-optionsband.md

latest2.1 KB
Original Source

OptionsBand.AllowSize Property

Gets or sets whether the band can be resized by dragging the right edge of its header.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool AllowSize { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowSize As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the band can be resized by dragging the right edge of its header; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowSize
GridBand

.OptionsBand .AllowSize

|

Remarks

To prevent all bands from being resized, use the BandedGridOptionsCustomization.AllowBandResizing property.

See Also

BandWidthChanged

AllowBandResizing

OptionsBand Class

OptionsBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace