New data view size units type.
Visual Basic (Declaration) | |
---|---|
Public Property NewSizeType As DateTimeIntervalType |
Visual Basic (Usage) | Copy Code |
---|---|
|
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".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.
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