RadControls for Silverlight

Represents an item in the RadPanelBar control.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2013.1.403.1050

Syntax

C#
public class RadPanelBarItem : RadTreeViewItem
Visual Basic
Public Class RadPanelBarItem _
	Inherits RadTreeViewItem

Remarks

The RadPanelBar control is made up of items. Items which are immediate children of the PanelBar are root items. Items which are children of root items are child items.

An item usually stores data in two properties, the Header property and the Item property. The value of the Header property is always displayed in the RadPanelBar control, and the Item property property is used to store the actual content of the RadPanelBarItem and is visible only when the RadPanelBarItem is expanded.

To create panel items, use one of the following methods:

  • Use declarative syntax to define items inline in your page or user control.
  • Use the constructor to dynamically create new instances of the RadPanelBarItem class. These items can then be added to the Items collection of another item or PanelBar.
  • Data bind the RadPanelBar control to a data source.

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          System.Windows.Controls..::..ItemsControl
            Telerik.Windows.Controls..::..ItemsControl
              Telerik.Windows.Controls..::..HeaderedItemsControl
                Telerik.Windows.Controls.TreeView..::..EditableHeaderedItemsControl
                  Telerik.Windows.Controls..::..RadTreeViewItem
                    Telerik.Windows.Controls..::..RadPanelBarItem

See Also