Class
RadToolBarTrayPanel

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:

cs-api-definition
public class RadToolBarTrayPanel : Grid

Inheritance: objectRadToolBarTrayPanel

Constructors

RadToolBarTrayPanel()

Initializes a new instance of the RadToolBarTrayPanel class.

Declaration

cs-api-definition
public RadToolBarTrayPanel()

Methods

ArrangeOverride(Size)

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

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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

Returns

Size

The actual size used.

MeasureOverride(Size)

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

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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.