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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.