Spread WPF Documentation
MeasureOverride Method (CellPresenterBase)


GrapeCity.Windows.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 System.Windows.Size _
) As System.Windows.Size
'Usage
 
Dim instance As CellPresenterBase
Dim constraint As System.Windows.Size
Dim value As System.Windows.Size
 
value = instance.MeasureOverride(constraint)
protected override System.Windows.Size MeasureOverride( 
   System.Windows.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