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.
Inheritance
Namespace: Telerik.Windows.Controls.RibbonView.Primitives
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class RibbonGalleryPanel : Panel
Constructors
RibbonGalleryPanel()
Declaration
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
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.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
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.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
System.Windows.Size
The size that this object determines it needs during layout, based on its calculations of child object allotted sizes. |