ComponentOne CalendarView for WinForms
C1.Win.C1Input Namespace / C1SplitButton Class / GetPreferredSize Method
The custom-sized area for a control.

In This Topic
    GetPreferredSize Method (C1SplitButton)
    In This Topic
    Retrieves the size of a rectangular area into which a control can be fitted.
    Public Overrides Function GetPreferredSize( _
       ByVal proposedSize As Size _
    ) As Size
    public override Size GetPreferredSize( 
       Size 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.
    See Also