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


Gets or sets the unit of measurement for the Size property, which represents the size of a data view.


View size type.

Syntax

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

Return Value

A DateTimeIntervalType enumeration value that determines the unit of measurement for the Size property, which represents the size (width or height) of a data view. Defaults to "Auto".

Remarks

When this property is set to "Auto" the unit of measurement for the Size property (which represents the large scrolling size) is automatically determined by the control, and will be either a number or day.

Remember that the Size property is always measured as an axis value, so make sure that if you explicitly set the size type that the type matches the axis that the scrollbar belongs to (i.e. do not specify "Minutes" if the axis does not use DateTime values).

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.