property Calendar.AutoSize as Boolean
Retrieves or sets a value that indicates whether the control automatically resizes the cell based on the size of the font.

 TypeDescription 
   Boolean A boolean expression that indicates whether the control automatically resizes the cell based on the size of the font.  

Use the AutoSize, FixedCellHeight and FixedCellWidth properties to defines the size of the control's cell. A cell displays a date. The FixedCellHeight and FixedCellWidth properties has effect only if the AutoSize is False. By default, the AutoSize property is True. The following sample fixes the cell's size: 

Calendar1.AutoSize = False
Calendar1.FixedCellHeight = 18
Calendar1.FixedCellWidth = 32
 

Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.