Back to Devexpress

BandedGridView.CanResizeBand(GridBand) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-bandedgridview-dot-canresizeband-x28-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-x29.md

latest2.4 KB
Original Source

BandedGridView.CanResizeBand(GridBand) Method

Indicates whether the specified band can be resized by end-users.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public virtual bool CanResizeBand(
    GridBand band
)
vb
Public Overridable Function CanResizeBand(
    band As GridBand
) As Boolean

Parameters

NameTypeDescription
bandGridBand

A GridBand object representing the inspected band.

|

Returns

TypeDescription
Boolean

true if end-users can resize the specified band; otherwise, false.

|

Remarks

The method’s return value depends on the band’s OptionsBand.AllowSize option state. The options specify whether end-users can drag the band’s right edge to resize the band. If the option is enabled, the method returns true. Otherwise, false is returned.

This method supports the grid’s internal infrastructure and is not intended to be called from your code.

See Also

AllowSize

GridBand

Width

BandedGridView Class

BandedGridView Members

DevExpress.XtraGrid.Views.BandedGrid Namespace