GetPreferredSize Method

Summary
Retrieves the size of a rectangular area into which a control can be fit.
Syntax
C#
C++/CLI
public override Size GetPreferredSize( 
   Size constrainingSize 
) 
public:  
   virtual 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 22.0.2023.2.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.