Class RadToolBarTray
This part of the RadToolBarTray class contains only helpers.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadToolBarTray : ItemsControl
Constructors
RadToolBarTray()
Initializes a new instance of the RadToolBarTray class.
Declaration
public RadToolBarTray()
Fields
IsLockedProperty
Identifies the property.
Declaration
public static readonly DependencyProperty IsLockedProperty
Field Value
System.Windows.DependencyProperty
|
OrientationProperty
Identifies the property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
Properties
IsLocked
Specifies whether RadToolBars can be moved inside the RadToolBarTray. This is an attached property.
Declaration
public bool IsLocked { get; set; }
Property Value
System.Boolean
|
Orientation
Gets or sets a value indicating whether the control is vertical or horizontal. This is a dependency property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
Remarks
The default value is Orientation.Horizontal.
Methods
ClearContainerForItemOverride(DependencyObject, Object)
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
|
System.Object
item
|
GetIsLocked(DependencyObject)
Reads the value of the IsLocked property from the specified element.
Declaration
public static bool GetIsLocked(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
The item to check. |
Returns
System.Boolean
|
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
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnItemsChanged(NotifyCollectionChangedEventArgs)
Called when the value of the System.Windows.Controls.ItemsControl.Items property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
A System.Collections.Specialized.NotifyCollectionChangedEventArgs that contains the event data. |
Overrides
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
Element used to display the specified item. |
System.Object
item
Specified item. |
Overrides
SetIsLocked(DependencyObject, Boolean)
Writes the value of the IsLocked property from the specified element.
Declaration
public static void SetIsLocked(DependencyObject element, bool value)
Parameters
System.Windows.DependencyObject
element
The item to be initialized. |
System.Boolean
value
The supplied value. |