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


Gets the unit of measurement for the new size of a view.
New data view size units type.

Syntax

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

Return Value

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

Remarks

When this property is set to "Auto" the unit of measurement for the NewSize property is automatically determined by the control, and will be either a number or day.

Remember that the NewSize 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).

Note that the NewSize property can be set to a new value in the AxisViewChanging event, but cannot be set to a new value for the AxisViewChanged event since the view is already created.   

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.