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

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:

C#
public class RadToolBarPanelBase : Panel

Inheritance: objectRadToolBarPanelBase

Derived Classes: RadToolBarOverflowPanelRadToolBarPanel

Constructors

C#
public RadToolBarPanelBase()

Fields

OrientationProperty

DependencyProperty

Registers the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

Properties

Orientation

Orientation

Gets or sets the orientation of the ToolBarPanel.

C#
public Orientation Orientation { get; set; }

Methods

Guarding/avoiding the check for Logical Parent.

C#
protected override UIElementCollection CreateUIElementCollection(FrameworkElement logicalParent)
Parameters:logicalParentFrameworkElementReturns:

UIElementCollection

StackPanel simulation measure.

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

Size