New to Telerik UI for WPFStart a free 30-day trial

Represents a panel that can contain and manage a collection of toolbars, providing layout behavior for arranging and measuring its child elements. The class extends Grid or Panel depending on compilation directives. It includes functionality to customize the arrangement of toolbars through the property, allowing for a flexible and dynamic user interface in applications. This class is particularly useful for scenarios where toolbars need to be managed together within a coherent layout.

Definition

Namespace:Telerik.Windows.Controls.ToolBar

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadToolBarTrayPanel : Grid

Inheritance: objectRadToolBarTrayPanel

Constructors

Initializes a new instance of the RadToolBarTrayPanel class.

C#
public RadToolBarTrayPanel()

Methods

Provides the behavior for the "Arrange" layout pass. Classes can override this method to define their own arrange pass behavior.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that this object should use to arrange itself and its children.

Returns:

Size

The actual size used.

Provides the behavior for the "measure" layout pass. Classes can override this method to define their own measure pass behavior.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns:

Size

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.