Dundas Chart for Windows Forms
MinSize Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > AxisDataView Class : MinSize Property


Gets or sets the minimum view size as well as the minimum large scrolling size.


View/scrolling minimum size.

Syntax

Visual Basic (Declaration)  
Public Property MinSize As Double
Visual Basic (Usage) Copy Code
Dim instance As AxisDataView
Dim value As Double
 
instance.MinSize = value
 
value = instance.MinSize
C#  
public double MinSize {get; set;}

Return Value

Gets or sets a double that represents the minimum large scrolling size and view size. Defaults to Double.NaN (not set).

Remarks

This property sets the minimum size of a view, and in addition determines the minimum large scrolling size (large scrolling occurs when the end user clicks on the background of a scrollbar).

The unit of measurement for MinSize is determined by the MinSizeType property. 

If the Axis that the scrollbar belongs to is using margins (the Axis.Margin property is set to true) then the minimum size of a view will be this property's value plus the data displayed using the margins.

This property has no effect when a view is set programmatically (i.e. when the Size, Position and SizeType properties are set using code, as opposed to the end-user zooming on data).

IMPORTANT: When explicitly setting this property to "Not Set" (represented by Double.NaN) there is currently a bug in .NET that results in this property being set to NaN instead of Double.NaN, thereby resulting in a compile-time error. To work around this set ScrollLineMinSize to zero (0) to explicitly set it to "Not Set".

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

© 2009 All Rights Reserved.