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

Panel used by the RadRibbonGallery to layout it's RadGalleryItem Children. When the gallery is open the marked as header children will become visible and the other children will be displayed as grouped.

Definition

Namespace:Telerik.Windows.Controls.RibbonView.Primitives

Assembly:Telerik.Windows.Controls.RibbonView.dll

Syntax:

C#
public class RibbonGalleryPanel : Panel

Inheritance: objectRibbonGalleryPanel

Constructors

C#
public RibbonGalleryPanel()

Methods

Provides the behavior for the Arrange pass of the layout. Classes can override this method to define their own Arrange pass behavior.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

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.

Provides the behavior for the Measure pass of the layout. Classes can override this method to define their own Measure pass behavior.

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

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.