HeaderPane
Main
Hide
Share Link
Print

GetPreferredSize Method, SftCalendar Class

Returns the size the control needs to show all its months.

Class: SftCalendar
Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET

Syntax

public override Size GetPreferredSize( Size proposedSize );
Public Overrides Function GetPreferredSize( ByVal proposedSize As Size ) As Size

Parameters

proposedSize

Ignored.

Return Value

The size, including the border.

Comments

Returns the size the control needs to show all its months.

See Also SftCalendar Class | Classes | SftDate/NET 3.0