GrapeCity.Xaml.SpreadSheet.UI
MeasureOverride Method (CellPresenterBase)


GrapeCity.Xaml.SpreadSheet.UI Namespace > CellPresenterBase Class : MeasureOverride Method
The maximum size that the method can return.
Called to measure a control.
Syntax
'Declaration
 
Protected Overrides Function MeasureOverride( _
   ByVal constraint As Size _
) As Size
'Usage
 
Dim instance As CellPresenterBase
Dim constraint As Size
Dim value As Size
 
value = instance.MeasureOverride(constraint)
protected override Size MeasureOverride( 
   Size constraint
)

Parameters

constraint
The maximum size that the method can return.

Return Value

The size of the control, up to the maximum specified by the constraint.
See Also

Reference

CellPresenterBase Class
CellPresenterBase Members