UpdateDisplayGetPreferredSize Method |
Retrieves the size of a rectangular area into which a control can be fitted.
Namespace: Kjs.AppLife.Update.ControllerAssembly: Kjs.AppLife.Update.Controller (in Kjs.AppLife.Update.Controller.dll) Version: 5.1.0.9 (5.1.0.9)
Syntaxpublic override Size GetPreferredSize(
Size proposedSize
)
Public Overrides Function GetPreferredSize (
proposedSize As Size
) As Size
public:
virtual Size GetPreferredSize(
Size proposedSize
) override
abstract GetPreferredSize :
proposedSize : Size -> Size
override GetPreferredSize :
proposedSize : Size -> Size
Parameters
- proposedSize
- Type: System.DrawingSize
The custom-sized area for a control.
Return Value
Type:
Size
An ordered pair of type
Size representing the width and height of a rectangle.
See Also