In general, there should not be any problem when applying this approach. You should only call the GetCurrentColumnValue method in the label's BeforePrint event.
So, if I got you right, and you have the following table's structure:
ID ParentID Level
A null 0
A.1 A 1
A.1.1 A.1 2
A.2 A 1
B Null 0
B.1 B 1
...the following code should do the trick:
int indent = 10*Level;
((XRLabel)sender).Padding.Left = indent;
Again, the BeforePrint event should be handled to accomplish this.
R&D, .NET Team.
PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.