LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

MeasureOverride Method (ImageBox)






An upper Size limit that cannot be exceeded.
Measures the child elements of this control before they are arranged during the ArrangeOverride pass. .NET support Silverlight support
Syntax
protected override Size MeasureOverride( 
   Size availableSize
)
'Declaration
 
Protected Overrides Function MeasureOverride( _
   ByVal availableSize As Size _
) As Size
'Usage
 
Dim instance As ImageBox
Dim availableSize As Size
Dim value As Size
 
value = instance.MeasureOverride(availableSize)
protected override Size MeasureOverride( 
   Size availableSize
)
 function Leadtools.Windows.Controls.ImageBox.MeasureOverride( 
   availableSize 
)
protected:
Size MeasureOverride( 
   Size availableSize
) override 

Parameters

availableSize
An upper Size limit that cannot be exceeded.

Return Value

The System.Windows.Size that represents the upper size limit of the element.
Remarks

For more information, refer to System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImageBox Class
ImageBox Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.