Class RadToolBarTray
A tray where RadToolBar controls are positioned.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadToolBarTray : ItemsControl, IThemable
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
|
GetContainerForItemOverride()
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject
|
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
|
IsItemItsOwnContainerOverride(Object)
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object
item
|
Returns
System.Boolean
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnItemsChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
|
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. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
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. |