Xceed DataGrid for WPF v7.2 Documentation
MeasureOverride Method (CardViewItemsHost)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > CardViewItemsHost Class : MeasureOverride Method
An upper limit Size that should not be exceeded.
Measures the child elements in anticipation of arranging them during the ArrangeOverride pass
Syntax
'Declaration
 
Protected Overrides Function MeasureOverride( _

   ByVal availableSize As Size _

) As Size
'Usage
 
Dim instance As CardViewItemsHost

Dim availableSize As Size

Dim value As Size

 

value = instance.MeasureOverride(availableSize)
protected override Size MeasureOverride( 

   Size availableSize

)

Parameters

availableSize
An upper limit Size that should not be exceeded.

Return Value

The Size that represents the desired size of the element.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CardViewItemsHost Class
CardViewItemsHost Members
Base Implementation in MeasureOverride