Click or drag to resize
RadPanelBarItem Class
Represents an item in the RadPanelBar control.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsItemsControl
                System.Windows.ControlsHeaderedItemsControl
                  Telerik.Windows.Controls.TreeViewEditableHeaderedItemsControl
                    Telerik.Windows.ControlsRadTreeViewItem
                      Telerik.Windows.ControlsRadPanelBarItem

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadPanelBarItem : RadTreeViewItem

The RadPanelBarItem type exposes the following members.

Constructors
  NameDescription
Public methodRadPanelBarItem
Initializes a new instance of the RadPanelBarItem class.
Top
Methods
  NameDescription
Public methodBeginEdit
This method does not apply to RadPanelBarItem.
(Overrides RadTreeViewItemBeginEdit.)
Public methodBringIndexIntoView
This method does not apply to RadPanelBarItem.
Public methodBringItemIntoView
This method does not apply to RadPanelBarItem.
Public methodCancelEdit
This method does not apply to RadPanelBarItem.
(Overrides RadTreeViewItemCancelEdit.)
Protected methodChangeVisualState
Updates the visual state of the control.
(Overrides RadTreeViewItemChangeVisualState(Boolean).)
Protected methodClearContainerForItemOverride
When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride(DependencyObject, Object) method.
(Inherited from RadTreeViewItem.)
Public methodCollapseAll
Collapses the item and its child items recursively.
(Inherited from RadTreeViewItem.)
Public methodCommitEdit
This method does not apply to RadPanelBarItem.
(Overrides RadTreeViewItemCommitEdit.)
Public methodContains
Checks if the item has a particular item in its collection.
(Inherited from RadTreeViewItem.)
Public methodEndEdit Obsolete.
This method does not apply to RadPanelBarItem.
Public methodEnsureVisible
Ensures that a given item is displayed.
(Inherited from RadTreeViewItem.)
Public methodExpandAll
Expands the item and its child items recursively.
(Inherited from RadTreeViewItem.)
Protected methodGetContainerForItemOverride
Creates or identifies the element that is used to display the given item.
(Overrides RadTreeViewItemGetContainerForItemOverride.)
Protected methodGetEditValue
Extracts a value that will be edited. This is normally the header of the control.
(Inherited from EditableHeaderedItemsControl.)
Public methodIsBefore
Gets a value indicating whether this item is rendered before the passed item.
(Inherited from RadTreeViewItem.)
Public methodIsDropPossible
Gets whether the the collection of dragged items can be dropped on the destination item.
(Inherited from RadTreeViewItem.)
Protected methodIsItemItsOwnContainerOverride
Determines if the specified item is (or is eligible to be) its own container.
(Overrides RadTreeViewItemIsItemItsOwnContainerOverride(Object).)
Protected methodMeasureOverride
(Inherited from RadTreeViewItem.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate().
(Overrides RadTreeViewItemOnApplyTemplate.)
Protected methodOnChecked
Raises the [E:Checked] event.
(Inherited from RadTreeViewItem.)
Protected methodOnChildItemsTemplateChanged
Clears the template property.
Protected methodOnClick
Raises the [E:Click] event and tries to execute the [P:Command].
(Inherited from RadTreeViewItem.)
Protected methodOnCollapsed
Raises the [E:Collapsed] event.
(Inherited from RadTreeViewItem.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer.
(Overrides RadTreeViewItemOnCreateAutomationPeer.)
Protected methodOnDoubleClick
Raises the [E:DoubleClick] event and tries to execute the [P:Command].
(Inherited from RadTreeViewItem.)
Protected methodOnEditCanceled
Raises the [E:EditCanceled] event.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnEdited
Raises the [E:Edited] event.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnEditorPrepare
Called when the item editor has been prepared.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnEditStarted
Raises the [E:Edited] event.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnExpanded
Raise the [E:Expanded] event.
(Inherited from RadTreeViewItem.)
Protected methodOnGotFocus
Called before the GotFocus event occurs.
(Inherited from RadTreeViewItem.)
Protected methodOnHeaderChanged
Called when the Header property of a HeaderedContentControl changes.
(Inherited from RadTreeViewItem.)
Protected methodOnHeaderEditElementKeyDown
Called when KeyDown event occurs on the Header Edit Element.
(Inherited from RadTreeViewItem.)
Protected methodOnHeaderEditTemplateChanged
Called when the HeaderEditTemplate changes.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnHeaderEditTemplateSelectorChanged
Called when the HeaderEditTemplateSelector changes.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides RadTreeViewItemOnInitialized(EventArgs).)
Protected methodOnIsEnabledChanged
The handler for the IsEnabledChanged event is fired.
(Inherited from RadTreeViewItem.)
Protected methodOnIsExpandedChanged
Called when IsExpanded changes.
(Overrides RadTreeViewItemOnIsExpandedChanged(Boolean, Boolean).)
Protected methodOnIsInEditModeChanged
Called when the value of the IsInEditMode property changes.
(Inherited from RadTreeViewItem.)
Protected methodOnItemsChanged
Invoked when the Items property changes.
(Overrides RadTreeViewItemOnItemsChanged(NotifyCollectionChangedEventArgs).)
Protected methodOnKeyDown
Called before the KeyDown event occurs.
(Inherited from RadTreeViewItem.)
Protected methodOnLoadOnDemand
Raises the [E:LoadOnDemand] event.
(Inherited from RadTreeViewItem.)
Protected methodOnLostFocus
Called before the LostFocus event occurs.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewChecked
Raises the [E:PreviewChecked] event.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewCollapsed
Raises the [E:PreviewCollapsed] event.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewEditCanceled
Raises the [E:PreviewEditCanceled] event.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnPreviewEdited
Raises the [E:PreviewEdited] event.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnPreviewEditorPrepare
Prepares the editor for the TreeViewItem. This override binds the default TextBox to the property that is edited if necessary.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewEditStarted
Raises the [E:Edited] event.
(Inherited from EditableHeaderedItemsControl.)
Protected methodOnPreviewExpanded
Raises the [E:PreviewExpanded] event.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewSelected
Raises the [E:PreviewSelected] event.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewUnchecked
Raises the [E:PreviewUnchecked] event.
(Inherited from RadTreeViewItem.)
Protected methodOnPreviewUnselected
Raises the [E:PreviewUnselected] event.
(Inherited from RadTreeViewItem.)
Protected methodOnSelected
Raises the [E:Selected] event.
(Inherited from RadTreeViewItem.)
Protected methodOnUnchecked
Raises the [E:Unchecked] event.
(Inherited from RadTreeViewItem.)
Protected methodOnUnselected
Raises the [E:Unselected] event.
(Inherited from RadTreeViewItem.)
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides RadTreeViewItemPrepareContainerForItemOverride(DependencyObject, Object).)
Protected methodPrepareEditor
Called when the editor for the edit operation is begin prepared.
(Inherited from EditableHeaderedItemsControl.)
Protected methodSetEditValue
Sets the new value after a successful edit. By default it sets the header.
(Inherited from EditableHeaderedItemsControl.)
Public methodStopEdit Obsolete.
This method does not apply to RadPanelBarItem.
Public methodToString
Return item text value.
(Inherited from RadTreeViewItem.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberChildItemsTemplateProperty
Identifies the ChildItemsTemplate dependency property.
Public fieldStatic memberLevelProperty
Identifies the Level dependency property.
Top
Properties
  NameDescription
Public propertyCheckState
This property does not apply to RadPanelBarItem.
Public propertyChildItemsTemplate
Gets or sets the template of the child elements.
Public propertyCommand
Gets or sets the command for Click event of the RadTreeViewItem.
(Inherited from RadTreeViewItem.)
Public propertyCommandExecutionTrigger
Gets or sets a value indicating when the Command must be executed.
(Inherited from RadTreeViewItem.)
Public propertyCommandParameter
Gets or sets the command parameter of the RadTreeViewItem.
(Inherited from RadTreeViewItem.)
Public propertyCommandTarget
Gets or sets the command target of the RadTreeViewItem when using routed command.
(Inherited from RadTreeViewItem.)
Public propertyDefaultImageSrc
This property does not apply to RadPanelBarItem.
Public propertyDropPosition
Gets or sets the DropPosition for the current drop (Before, Inside, After). Setting this property only makes sense in a DragDrop handler.
(Inherited from RadTreeViewItem.)
Public propertyExpandedImageSrc
This property does not apply to RadPanelBarItem.
Public propertyExpanderStyle
Gets or sets the style for the item's expand arrow.
(Inherited from RadTreeViewItem.)
Public propertyFullPath
Gets the path from the root tree item to the current tree item delimited with the PathSeparator specified by RadTreeView.
(Inherited from RadTreeViewItem.)
Protected propertyHeaderEditPresenterElement
Gets the content presenter used for editing.
(Inherited from EditableHeaderedItemsControl.)
Public propertyHeaderEditTemplate
This property does not apply to RadPanelBarItem.
Public propertyHeaderEditTemplateSelector
This property does not apply to RadPanelBarItem.
Public propertyIndex
Gets the position of the tree item in the tree item collection.
(Inherited from RadTreeViewItem.)
Public propertyIsCheckBoxEnabled
This property does not apply to RadPanelBarItem.
Public propertyIsChecked
This property does not apply to RadPanelBarItem.
Public propertyIsDragOver
Gets or sets a value indicating whether an item is being dragged over the TreeViewItem.
(Inherited from RadTreeViewItem.)
Public propertyIsDropAllowed
Gets or sets a value indicating whether the tree item can accept data that the user drags onto it.
(Inherited from RadTreeViewItem.)
Public propertyIsEditable
This property does not apply to RadPanelBarItem.
Public propertyIsExpanded
Gets or sets a value indicating whether the TreeViewItem is in the expanded state.
(Inherited from RadTreeViewItem.)
Public propertyIsInEditMode
This property does not apply to RadPanelBarItem.
Public propertyIsInSelectedPath
This property does not apply to RadPanelBarItem.
Public propertyIsInViewport
This property does not apply to RadPanelBarItem.
Public propertyIsLoadingOnDemand
This property does not apply to RadPanelBarItem.
Public propertyIsLoadOnDemandEnabled
This property does not apply to RadPanelBarItem.
Public propertyIsMouseOverHeader
Gets a value indicating whether the mouse cursor is over the item header.
(Inherited from RadTreeViewItem.)
Public propertyIsRadioButtonEnabled Obsolete.
This property does not apply to RadPanelBarItem.
Public propertyIsRootItem
This property does not apply to RadPanelBarItem.
Public propertyIsSelected
Gets or sets a value indicating whether the tree item is in selected state.
(Inherited from RadTreeViewItem.)
Public propertyIsSelectionActive
This property does not apply to RadPanelBarItem.
Public propertyItem
Gets the data item associated to the RadTreeViewItem.
(Inherited from RadTreeViewItem.)
Public propertyItemsOptionListType Obsolete.
This property does not apply to RadPanelBarItem.
Public propertyItemVisibility
Gets or sets a value indicating when the item should be visible or not.
(Inherited from RadTreeViewItem.)
Public propertyLevel
Gets or sets the Level property.
Public propertyNextItem
Gets the next available item. Used for traversal of the tree view.
(Inherited from RadTreeViewItem.)
Public propertyNextSiblingItem
Gets the next sibling tree item.
(Inherited from RadTreeViewItem.)
Public propertyOptionType
This property does not apply to RadPanelBarItem.
Public propertyParentItem
Gets the parent PanelBarItem of the current item.
Public propertyParentTreeView
Gets the parent tree view associated with the current tree view item.
(Inherited from RadTreeViewItem.)
Public propertyPreviousItem
Gets the previous available item. Used for traversal of the tree view.
(Inherited from RadTreeViewItem.)
Public propertyPreviousSiblingItem
Gets the previous sibling tree item.
(Inherited from RadTreeViewItem.)
Public propertyRootItem
Gets the root parent item for this instance.
(Inherited from RadTreeViewItem.)
Public propertySelectedImageSrc
This property does not apply to RadPanelBarItem.
Top
Events
  NameDescription
Public eventChecked
This event does not apply to RadPanelBarItem.
Public eventClick
Occurs after the tree item is clicked.
(Inherited from RadTreeViewItem.)
Public eventCollapsed
Occurs after the tree item is collapsed.
(Inherited from RadTreeViewItem.)
Public eventDoubleClick
Occurs after the tree item is double clicked.
(Inherited from RadTreeViewItem.)
Public eventEditCanceled
This event does not apply to RadPanelBarItem.
Public eventEdited
This event does not apply to RadPanelBarItem.
Public eventEditorPrepare
This event does not apply to RadPanelBarItem.
Public eventEditStarted
This event does not apply to RadPanelBarItem.
Public eventExpanded
Occurs after the tree item is expanded.
(Inherited from RadTreeViewItem.)
Public eventLoadOnDemand
This event does not apply to RadPanelBarItem.
Public eventPreviewChecked
This event does not apply to RadPanelBarItem.
Public eventPreviewCollapsed
Occurs before an item is collapsed.
(Inherited from RadTreeViewItem.)
Public eventPreviewEditCanceled
This event does not apply to RadPanelBarItem.
Public eventPreviewEdited
This event does not apply to RadPanelBarItem.
Public eventPreviewEditorPrepare
This event does not apply to RadPanelBarItem.
Public eventPreviewEditStarted
This event does not apply to RadPanelBarItem.
Public eventPreviewExpanded
Occurs before an item is expanded.
(Inherited from RadTreeViewItem.)
Public eventPreviewSelected
Occurs before the tree item is selected.
(Inherited from RadTreeViewItem.)
Public eventPreviewUnchecked
This event does not apply to RadPanelBarItem.
Public eventPreviewUnselected
Occurs before an item is unselected.
(Inherited from RadTreeViewItem.)
Public eventSelected
Occurs after the tree item is selected.
Remarks
For more information about handling events, see also PreviewSelected.
(Inherited from RadTreeViewItem.)
Public eventUnchecked
This event does not apply to RadPanelBarItem.
Public eventUnselected
Occurs after the tree item is unselected.
(Inherited from RadTreeViewItem.)
Top
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.
See Also