dbicCalendar Send comments on this topic.
GetPreferredSize Method
See Also 
dbicPIM Assembly > Dbi.PIM Namespace > dbiReminderDialog Class : GetPreferredSize Method

proposedSize
The custom-sized area for a control.
Retrieves the size of a rectangular area into which a control can be fitted.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetPreferredSize( _
   ByVal proposedSize As Size _
) As Size
C# 
public virtual Size GetPreferredSize( 
   Size proposedSize
)

Parameters

proposedSize
The custom-sized area for a control.

Return Value

An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also