I know that you can control the height of various child nodes in the RadPanelBar item tree by using the ChildGroupHeight property; for example:
foreach (RadPanelItem rpi2 in rpbLHNav.Items)
{
// set height of second-level items
if (rpi2.Items.Count > 7)
{
rpi2.ChildGroupHeight = Unit.Pixel(250);
}
// set height of third-level items
foreach (RadPanelItem rpi3 in rpi2.Items)
{
if (rpi3.Items.Count > 11)
{
rpi3.ChildGroupHeight = Unit.Pixel(250);
}
}
...
}
Is there a way to control the height of the root items (i.e., those in rpbLHNav.Items) in a similar way? (The ChildGroupHeight property is missing from the RadPanelBar object.)
foreach (RadPanelItem rpi2 in rpbLHNav.Items)
{
// set height of second-level items
if (rpi2.Items.Count > 7)
{
rpi2.ChildGroupHeight = Unit.Pixel(250);
}
// set height of third-level items
foreach (RadPanelItem rpi3 in rpi2.Items)
{
if (rpi3.Items.Count > 11)
{
rpi3.ChildGroupHeight = Unit.Pixel(250);
}
}
...
}
Is there a way to control the height of the root items (i.e., those in rpbLHNav.Items) in a similar way? (The ChildGroupHeight property is missing from the RadPanelBar object.)