Gets or sets the unit of measurement for the Size property, which represents the size of a data view.
View size type.
Visual Basic (Declaration) | |
---|---|
Public Property SizeType As DateTimeIntervalType |
Visual Basic (Usage) | Copy Code |
---|---|
|
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".
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).
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