Class
RibbonGalleryPanel

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:

cs-api-definition
public class RibbonGalleryPanel : Panel

Inheritance: objectRibbonGalleryPanel

Constructors

RibbonGalleryPanel()

Declaration

cs-api-definition
public RibbonGalleryPanel()

Methods

ArrangeOverride(Size)

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

Declaration

cs-api-definition
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.

MeasureOverride(Size)

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

Declaration

cs-api-definition
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.