GetPreferredSize Method

Summary
Retrieves the size of a rectangular area into which a control can be fit.
Syntax
C#
VB
C++
public override Size GetPreferredSize( 
   Size constrainingSize 
) 
  
Public Overrides Function GetPreferredSize( _ 
   ByVal constrainingSize As Size _ 
) As Size 
public: 
Size GetPreferredSize(  
   Size constrainingSize 
) override  

Parameters

constrainingSize
The custom-sized area for a control.

Return Value

A Size ordered pair, representing the width and height of a rectangle.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.