RadCollapsiblePanel
Represents a collapsible panel component, designed for navigation purposes. The RadCollapsiblePanel class inherits from the Panel class and is optimized to dynamically adjust its height based on the largest button within it. If no large buttons are present, the height is determined by the property. The panel also supports layout customization through attached properties to control the spacing between items and the number of small/medium buttons displayed per column.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadCollapsiblePanel : Panel
Inheritance: objectRadCollapsiblePanel
Constructors
public RadCollapsiblePanel()
Fields
ItemSpacingProperty
DependencyProperty
Identifies the ItemSpacing property.
public static readonly DependencyProperty ItemSpacingProperty
SmallButtonsPerColumnProperty
DependencyProperty
Identifies the CompressedThreshold Attached property.
public static readonly DependencyProperty SmallButtonsPerColumnProperty
Methods
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
protected override Size ArrangeOverride(Size finalSize)
The final area within the parent that this object should use to arrange itself and its children.
Returns:Size
The actual size used once the element is arranged.
Gets a value indicating the height spacing between the items.
public static int GetItemSpacing(DependencyObject obj)
Gets a value indicating the number of small/medium buttons per column.
public static int GetSmallButtonsPerColumn(DependencyObject obj)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
protected override Size MeasureOverride(Size availableSize)
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.
OnCreateAutomationPeer()
AutomationPeer
Creates default FrameworkElementAutomationPeer for the panel.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Sets a value indicating the height spacing between the items.
public static void SetItemSpacing(DependencyObject obj, int value)
Sets a value indicating the number of small/medium buttons per column.
public static void SetSmallButtonsPerColumn(DependencyObject obj, int value)