LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
MeasureOverride Method
See Also 
Leadtools.Windows.Controls Namespace > ImagePanViewer Class : MeasureOverride Method



availableSize
An upper Size limit that cannot be exceeded.
availableSize
An upper Size limit that cannot be exceeded.
Measures the child elements of this control before they are arranged during the System.Windows.FrameworkElement.ArrangeOverride(System.Windows.Size) pass. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Overrides Protected Function MeasureOverride( _
   ByVal availableSize As Size _
) As Size
Visual Basic (Usage)Copy Code
Dim instance As ImagePanViewer
Dim availableSize As Size
Dim value As Size
 
value = instance.MeasureOverride(availableSize)
C# 
protected override Size MeasureOverride( 
   Size availableSize
)
C++/CLI 
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

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also