Xceed Toolkit Plus for WPF v4.6 Documentation
CorrectSize Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace > Chart Class : CorrectSize Method
The Size to correct.
Corrects a size if the size's width or height is positive Infinity.
Syntax
'Declaration
 
Protected Function CorrectSize( _
   ByVal size As Size _
) As Size
'Usage
 
Dim instance As Chart
Dim size As Size
Dim value As Size
 
value = instance.CorrectSize(size)
protected Size CorrectSize( 
   Size size
)

Parameters

size
The Size to correct.

Return Value

The corrected size.
Remarks
This can happen if a chart is laid out in a StackPanel, for example.
Requirements

Target Platforms: Windows 11, Windows 10, 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

Chart Class
Chart Members