Exemple #1
0
 private void GridView_BandWidthChanged(object sender, DevExpress.XtraGrid.Views.BandedGrid.BandEventArgs e)
 {
     //if (e.Band.Children.Count > 0)
     //SetBandHeight(e.Band);
     //SetBandsHeight(e.Band.Index);
     for (int i = e.Band.Index; i < GridView.Bands.Count; i++)
     {
         SetBandsHeight(i);
     }
 }
 private void GridView_BandWidthChanged(object sender, DevExpress.XtraGrid.Views.BandedGrid.BandEventArgs e)
 {
     if (e.Band.ParentBand == null)
     {
         SetBandsHeight(e.Band.Index);
     }
     else
     {
         SetBandsHeight(e.Band.ParentBand.Index, e.Band.Index);
     }
 }
Exemple #3
0
 private void BandedGridView_BandWidthChanged(object sender, DevExpress.XtraGrid.Views.BandedGrid.BandEventArgs e)
 {
     return;             // prototype method
 }