A newer version of this page is available. Switch to the current version.

GridBand.Resize(Int32) Method

Specifies a new width for the band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public void Resize(
    int newWidth
)

Parameters

Name Type Description
newWidth Int32

An integer value representing the band’s new width.

Remarks

The Resize method can be used to change the band’s width. As a result the BandedGridView.BandWidthChanged event will be fired.

Changing the band’s width via the GridBand.Width property doesn’t fire this event.

See Also