RibbonGalleryItemsPanel.MeasureOverride Method (Size)

.NET Framework (current version)
 

Measures the child elements in this RibbonGalleryItemsPanel in preparation of arranging them during the ArrangeOverride pass.

Namespace:   System.Windows.Controls.Ribbon.Primitives
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override Size MeasureOverride(
	Size availableSize
)

Parameters

availableSize
Type: System.Windows.Size

The maximum size of the RibbonGalleryItemsPanel.

Return Value

Type: System.Windows.Size

The desired size of the RibbonGalleryItemsPanel.

.NET Framework
Available since 4.5
Return to top
Show: