Namespace:  Microsoft.TeamFoundation.Build.Controls
Assembly:  Microsoft.TeamFoundation.Build.Controls (in Microsoft.TeamFoundation.Build.Controls.dll)
Syntax
'Declaration
Function GetPreferredSize ( _
    constraints As Size _
) As Size
Size GetPreferredSize(
    Size constraints
)
Size GetPreferredSize(
    Size constraints
)
abstract GetPreferredSize : 
        constraints:Size -> Size
function GetPreferredSize(
    constraints : Size
) : Size
Parameters
- constraints
 Type: System.Drawing.Size
Return Value
Type: System.Drawing.Size
Returns Size.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.