Called to measure a control.
protected override System.Windows.Size MeasureOverride(
System.Windows.Size
)
'Declaration
Protected Overrides Function MeasureOverride( _
ByVal 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)
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.
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)