ClassRadCollapsiblePanel
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
RadCollapsiblePanel()
Declaration
public RadCollapsiblePanel()
Fields
ItemSpacingProperty
Identifies the ItemSpacing property.
Declaration
public static readonly DependencyProperty ItemSpacingProperty
Field Value
DependencyProperty
SmallButtonsPerColumnProperty
Identifies the CompressedThreshold Attached property.
Declaration
public static readonly DependencyProperty SmallButtonsPerColumnProperty
Field Value
DependencyProperty
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
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 once the element is arranged.
GetItemSpacing(DependencyObject)
Gets a value indicating the height spacing between the items.
Declaration
public static int GetItemSpacing(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
GetSmallButtonsPerColumn(DependencyObject)
Gets a value indicating the number of small/medium buttons per column.
Declaration
public static int GetSmallButtonsPerColumn(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
Declaration
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.
OnCreateAutomationPeer()
Creates default FrameworkElementAutomationPeer for the panel.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
SetItemSpacing(DependencyObject, int)
Sets a value indicating the height spacing between the items.
Declaration
public static void SetItemSpacing(DependencyObject obj, int value)
Parameters
obj
DependencyObject
value
SetSmallButtonsPerColumn(DependencyObject, int)
Sets a value indicating the number of small/medium buttons per column.
Declaration
public static void SetSmallButtonsPerColumn(DependencyObject obj, int value)
Parameters
obj
DependencyObject
value