New to Telerik UI for WinForms? Start a free 30-day trial

Scrollable inner panel that stores the controls hosted by a RadCollapsiblePanel.

Definition

Constructors

Creates the inner content panel for the specified scrollable panel.

C#
public CollapsiblePanelPanelContainer(RadScrollablePanel parentPanel)
Parameters:parentPanelRadScrollablePanel

The scrollable panel that owns this inner panel.

Properties

Gets or sets the inner panel size. During owner initialization, setting it also resizes the outer controls container.

C#
public Size Size { get; set; }
Exceptions: NullReferenceException

The container has not been assigned a parent.

Methods

Searches the parent chain for the nearest ancestor collapsible panel.

C#
protected virtual RadCollapsiblePanel FindCollapsiblePanelParent()
Returns:

RadCollapsiblePanel

The ancestor panel, or null if the parent chain contains none.

Exceptions: NullReferenceException

The container has not been assigned a parent.