Class
RadToolBarTray

A tray where RadToolBar controls are positioned.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
public class RadToolBarTray : ItemsControl

Inheritance: objectRadToolBarTray

Constructors

RadToolBarTray()

Initializes a new instance of the RadToolBarTray class.

Declaration

cs-api-definition
public RadToolBarTray()

Fields

IsLockedProperty

Identifies the property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsLockedProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

IsLocked

Specifies whether RadToolBars can be moved inside the RadToolBarTray. This is an attached property.

Declaration

cs-api-definition
public bool IsLocked { get; set; }

Property Value

bool

Orientation

Gets or sets a value indicating whether the control is vertical or horizontal. This is a dependency property.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Remarks

The default value is Orientation.Horizontal.

Methods

ClearContainerForItemOverride(DependencyObject, object)

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

item

object

GetContainerForItemOverride()

Declaration

cs-api-definition
protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

GetIsLocked(DependencyObject)

Reads the value of the IsLocked property from the specified element.

Declaration

cs-api-definition
public static bool GetIsLocked(DependencyObject element)

Parameters

element

DependencyObject

The item to check.

Returns

bool

IsItemItsOwnContainerOverride(object)

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

Returns

bool

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

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

SetIsLocked(DependencyObject, bool)

Writes the value of the IsLocked property from the specified element.

Declaration

cs-api-definition
public static void SetIsLocked(DependencyObject element, bool value)

Parameters

element

DependencyObject

The item to be initialized.

value

bool

The supplied value.