RadToolBarTray
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
Initializes a new instance of the RadToolBarTray class.
public RadToolBarTray()
Fields
IsLockedProperty
DependencyProperty
Identifies the property.
public static readonly DependencyProperty IsLockedProperty
OrientationProperty
DependencyProperty
Identifies the property.
public static readonly DependencyProperty OrientationProperty
Properties
Specifies whether RadToolBars can be moved inside the RadToolBarTray. This is an attached property.
public bool IsLocked { get; set; }
Orientation
Orientation
Gets or sets a value indicating whether the control is vertical or horizontal. This is a dependency property.
public Orientation Orientation { get; set; }
The default value is Orientation.Horizontal.
Methods
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
GetContainerForItemOverride()
DependencyObject
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
Reads the value of the IsLocked property from the specified element.
public static bool GetIsLocked(DependencyObject element)
The item to check.
Returns: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.
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
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.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
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.
Resets the theme.
public void ResetTheme()
Writes the value of the IsLocked property from the specified element.
public static void SetIsLocked(DependencyObject element, bool value)
The item to be initialized.
valueboolThe supplied value.