I need to determine the level of band in DisplayLayout.Bands.
for example I have the following structure:
Band1(parent) -> Band2(child) ->Band3(child)
"Band3" have level 2 of nesting .
I found Band.Index property. Are there any other facilities to determine level of band nesting ?
Thanks in advance.
I have to implement my own function:
private static int CalculateBandLevel(UltraGridBand band) { int level = 0; while (band.ParentBand != null) { band = band.ParentBand; level++; } return level; }