Returns the width in pixels of one month.
| C# | int Width = object.SingleMonthWidth; |
| VB.NET | Width = object.SingleMonthWidth As Integer |
| C++ | long Width = object->SingleMonthWidth; long Width = object->GetSingleMonthWidth(); |
| C | HRESULT object->get_SingleMonthWidth(long* Width); |
object
Width
Returns the width in pixels of one month.
The SingleMonthWidth property returns the width in pixels a month calendar control needs to show one month with its current settings and fonts. p An application uses it to decide how many months fit into an area (Calendar.MonthsAcross). PreferredWidth returns the width for all months shown. The width depends on the DPI of the monitor (DPI).
See Also SftCalendar Object | Object Hierarchy | Calendar Layout