ClassRadToolBarTray
A tray where RadToolBar controls are positioned.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadToolBarTray : ItemsControl
Inheritance: objectRadToolBarTray
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
DependencyProperty
OrientationProperty
Identifies the property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
Properties
IsLocked
Specifies whether RadToolBars can be moved inside the RadToolBarTray. This is an attached property.
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
Orientation
Remarks
The default value is Orientation.Horizontal.
Methods
ClearContainerForItemOverride(DependencyObject, object)
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
item
GetContainerForItemOverride()
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
GetIsLocked(DependencyObject)
Reads the value of the IsLocked property from the specified element.
Declaration
public static bool GetIsLocked(DependencyObject element)
Parameters
element
DependencyObject
The item to check.
Returns
OnApplyTemplate()
Invoked when the template is applied to the RadToolBarTray. This method is primarily responsible for initializing the visual elements of the control after the control's template has been applied.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
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.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
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.
SetIsLocked(DependencyObject, bool)
Writes the value of the IsLocked property from the specified element.
Declaration
public static void SetIsLocked(DependencyObject element, bool value)
Parameters
element
DependencyObject
The item to be initialized.
value
The supplied value.