Intersoft ClientUI Documentation
MeasureOverride Method
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > ViewboxInternal Class : MeasureOverride Method






availableSize
An upper limit Size that should not be exceeded.
Measures the child element of a ViewboxInternal to prepare for arranging it during the ArrangeOverride pass.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function MeasureOverride( _
   ByVal availableSize As Size _
) As Size
Visual Basic (Usage)Copy Code
Dim instance As ViewboxInternal
Dim availableSize As Size
Dim value As Size
 
value = instance.MeasureOverride(availableSize)
C# 
protected override Size MeasureOverride( 
   Size availableSize
)
Delphi 
protected function MeasureOverride( 
    availableSize: Size
): Size; override; 
JScript 
protected override function MeasureOverride( 
   availableSize : Size
) : Size;
Managed Extensions for C++ 
protected: Size MeasureOverride( 
   Size availableSize
) override 
C++/CLI 
protected:
Size MeasureOverride( 
   Size availableSize
) override 

Parameters

availableSize
An upper limit Size that should not be exceeded.

Return Value

The target Size of the element.

Remarks

ViewboxInternal measures it's child at an infinite constraint; it allows the child to be however large it so desires. The child's returned size will be used as it's natural size for scaling to Viewbox's size during Arrange.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.