I have a grid with three levels:0,1,2
when i try to show only one level
UltraGrid.DisplayLayout.Bands(0).LevelCount = 1
the grid displays level 1 not 0
What must i do?
Thanks
The LevelCount property has nothing to do with the bands. LevelCount is for groups.
It's not possible to show Band 1 in the grid without showing Band 0. So I don't understand how you could have gotten that behavior.
In any case, to only show the first band, you should set MaxBandDepth to 1 and also set the grid.DisplayLayout.ViewStyle to SingleBand.