HeaderPane
Main
Hide
Share Link
Print

SingleMonthWidth Property, SftCalendar Object

Returns the width in pixels of one month.

Syntax

C#int Width = object.SingleMonthWidth;
VB.NETWidth = object.SingleMonthWidth As Integer
C++long Width = object->SingleMonthWidth;
long Width = object->GetSingleMonthWidth();
CHRESULT object->get_SingleMonthWidth(long* Width);

object

A SftCalendar object.

Width

Returns the width in pixels of one month.

Comments

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


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.