RadPanelBarItem
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
Initializes a new instance of the RadPanelBarItem class.
public RadPanelBarItem()
Fields
ChildItemsTemplateProperty
DependencyProperty
Identifies the ChildItemsTemplate dependency property.
public static readonly DependencyProperty ChildItemsTemplateProperty
ExpandedLengthProperty
DependencyProperty
Identifies the ExpandedLength dependency property.
public static readonly DependencyProperty ExpandedLengthProperty
ExpandedMaxLengthProperty
DependencyProperty
Identifies the ExpandedMaxLength dependency property.
public static readonly DependencyProperty ExpandedMaxLengthProperty
ExpandedMinLengthProperty
DependencyProperty
Identifies the ExpandedMinLength dependency property.
public static readonly DependencyProperty ExpandedMinLengthProperty
LevelProperty
DependencyProperty
Identifies the Level dependency property.
public static readonly DependencyProperty LevelProperty
This property specifies the depth of nesting of the current instance within the parent RadPanelBar.
Properties
ChildItemsTemplate
ControlTemplate
Gets or sets the template of the child elements.
public ControlTemplate ChildItemsTemplate { get; set; }
Gets or sets the ExpandedLength property.
This property is used only when either of the IsResizingEnabled or IsScrollViewerInsideItemsEnabled properties are true.
public double ExpandedLength { get; set; }
Gets or sets the ExpandedMaxLength property.
This property is used only when the IsResizingEnabled property is true.
public double ExpandedMaxLength { get; set; }
Gets or sets the ExpandedMinLength property.
This property is used only when the IsResizingEnabled property is true.
public double ExpandedMinLength { get; set; }
Gets the IsScrollViewerEnabled property. This property controls whether the ScrollBarVisibility of the ScrollViewer inside the ControlTemplate of the RadPanelBarItem.
public bool IsScrollViewerEnabled { get; }
Gets the parent PanelBarItem of the current item.
[Browsable(false)]
public RadPanelBarItem ParentItem { get; }
Methods
Updates the visual state of the control.
protected override void ChangeVisualState(bool useTransitions)
Indicates whether transitions should be used.
Overrides:
GetContainerForItemOverride()
DependencyObject
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
Overrides:
Measures the size of the control.
protected override Size MeasureOverride(Size availableSize)
Size
Overrides:
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().
public override void OnApplyTemplate()
Overrides:
Clears the template property.
protected virtual void OnChildItemsTemplateChanged(RadPanelBarItem item)
The item.
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Invoked when the property changes.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Information about the change.
Overrides:
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Element used to display the specified item.
itemobjectSpecified item.
Overrides: