WrappingCheckBox.GetPreferredSize Method (Size)
Retrieves the size of a rectangular area into which a control can be fitted, while retaining the wrapping capability of the check box.
Namespace: Microsoft.WindowsServerSolutions.Controls
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public override Size GetPreferredSize(
Size proposedSize
)
public:
virtual Size GetPreferredSize(
Size proposedSize
) override
Public Overrides Function GetPreferredSize (
proposedSize As Size
) As Size
Parameters
proposedSize
Type: System.Drawing.SizeThe proposed size of the check box.
Return Value
Type: System.Drawing.Size
A System.Drawing.Size that contains the final size of the check box.
See Also
WrappingCheckBox Class
Microsoft.WindowsServerSolutions.Controls Namespace
Return to top