ClassRadPanelBarItem
Represents an item in the RadPanelBar control.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadPanelBarItem : RadTreeViewItem, ICommandSource
Inheritance: objectEditableHeaderedItemsControlRadTreeViewItemRadPanelBarItem
Implements:
Inherited Members
Constructors
RadPanelBarItem()
Initializes a new instance of the RadPanelBarItem class.
Declaration
public RadPanelBarItem()
Fields
ChildItemsTemplateProperty
Identifies the ChildItemsTemplate dependency property.
Declaration
public static readonly DependencyProperty ChildItemsTemplateProperty
Field Value
DependencyProperty
ExpandedLengthProperty
Identifies the ExpandedLength dependency property.
Declaration
public static readonly DependencyProperty ExpandedLengthProperty
Field Value
DependencyProperty
ExpandedMaxLengthProperty
Identifies the ExpandedMaxLength dependency property.
Declaration
public static readonly DependencyProperty ExpandedMaxLengthProperty
Field Value
DependencyProperty
ExpandedMinLengthProperty
Identifies the ExpandedMinLength dependency property.
Declaration
public static readonly DependencyProperty ExpandedMinLengthProperty
Field Value
DependencyProperty
LevelProperty
Identifies the Level dependency property.
Declaration
public static readonly DependencyProperty LevelProperty
Field Value
DependencyProperty
Remarks
This property specifies the depth of nesting of the current instance within the parent RadPanelBar.
Properties
ChildItemsTemplate
Gets or sets the template of the child elements.
Declaration
public ControlTemplate ChildItemsTemplate { get; set; }
Property Value
ControlTemplate
ExpandedLength
Gets or sets the ExpandedLength property.
This property is used only when either of the IsResizingEnabled or IsScrollViewerInsideItemsEnabled properties are true.
ExpandedMaxLength
Gets or sets the ExpandedMaxLength property.
This property is used only when the IsResizingEnabled property is true.
ExpandedMinLength
Gets or sets the ExpandedMinLength property.
This property is used only when the IsResizingEnabled property is true.
IsScrollViewerEnabled
Gets the IsScrollViewerEnabled property. This property controls whether the ScrollBarVisibility of the ScrollViewer inside the ControlTemplate of the RadPanelBarItem.
ParentItem
Gets the parent PanelBarItem of the current item.
Declaration
[Browsable(false)]
public RadPanelBarItem ParentItem { get; }
Property Value
Methods
ChangeVisualState(bool)
Updates the visual state of the control.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
useTransitions
Indicates whether transitions should be used.
Overrides
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
Overrides
IsItemItsOwnContainerOverride(object)
Determines if the specified item is (or is eligible to be) its own container.
MeasureOverride(Size)
Measures the size of the control.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
Returns
Size
Overrides
OnApplyTemplate()
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().
Declaration
public override void OnApplyTemplate()
Overrides
OnChildItemsTemplateChanged(RadPanelBarItem)
Clears the template property.
Declaration
protected virtual void OnChildItemsTemplateChanged(RadPanelBarItem item)
Parameters
item
The item.
OnCreateAutomationPeer()
Returns class-specific AutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
OnIsExpandedChanged(bool, bool)
Called when IsExpanded changes.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Invoked when the property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
Information about the change.
Overrides
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.
Overrides