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


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views.Surfaces Namespace > RegionPresenter Class : MeasureOverride Method
An upper limit Size that should not be exceeded.
Measures the child elements of the region presenter before they are arranged during the ArrangeOverride pass.
Syntax
'Declaration
 
Protected Overrides Function MeasureOverride( _

   ByVal availableSize As Size _

) As Size
'Usage
 
Dim instance As RegionPresenter

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

A Size representing the upper size limit of the RegionPresenter.
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

RegionPresenter Class
RegionPresenter Members
Base Implementation in MeasureOverride