Structure
A panelbar control consists of items grouped in the Items collection. Each RadPanelItem can also contain an Items collection with its own child items, etc.
ASPX:
|
Copy Code |
|
<rad:RadPanelBar ID="RadPanelBar1" runat="server"> <Items> <rad:RadPanelItem runat="server" Text="Root RadPanelItem"> <Items> <rad:RadPanelItem runat="server" Text="Child RadPanelItem"> <Items> <rad:RadPanelItem runat="server" Text="Child RadPanelItem"> </rad:RadPanelItem> <rad:RadPanelItem runat="server" Text="Child RadPanelItem"> </rad:RadPanelItem> </Items> </rad:RadPanelItem> <rad:RadPanelItem runat="server" Text="Child RadPanelItem"> </rad:RadPanelItem> </Items> </rad:RadPanelItem> <rad:RadPanelItem runat="server" Text="Root RadPanelItem"> </rad:RadPanelItem> </Items> </rad:RadPanelBar> |
The panelbar structure can be defined using one of the following methods:
Appearance
The visual appearance can be defined using skins.