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






constraint
The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.
Provides the behavior for the Measure pass of Silverlight layout.

Syntax

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

Parameters

constraint
The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Return Value

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.

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.