Class
RadToolBarPanelBase

Represents a base class for a panel that arranges its child elements either horizontally or vertically, simulating the behavior of a StackPanel. The orientation of the panel can be specified through the Orientation property. The panel measures its children based on the specified orientation, ensuring that the layout adapts accordingly as the property is changed.

Definition

Namespace:Telerik.Windows.Controls.ToolBar

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadToolBarPanelBase : Panel

Inheritance: objectRadToolBarPanelBase

Derived Classes: RadToolBarOverflowPanelRadToolBarPanel

Constructors

RadToolBarPanelBase()

Declaration

cs-api-definition
public RadToolBarPanelBase()

Fields

OrientationProperty

Registers the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

Orientation

Gets or sets the orientation of the ToolBarPanel.

Declaration

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

Property Value

Orientation

Methods

CreateUIElementCollection(FrameworkElement)

Guarding/avoiding the check for Logical Parent.

Declaration

cs-api-definition
protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)

Parameters

logicalParent

FrameworkElement

Returns

UIElementCollection

MeasureOverride(Size)

StackPanel simulation measure.

Declaration

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

Parameters

availableSize

Size

Returns

Size