Spread Silverlight Documentation
MeasureOverride Method (CellBackgroundPanel)


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

Parameters

availableSize
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

CellBackgroundPanel Class
CellBackgroundPanel Members