WrappingRadioButton.GetPreferredSize Method (Size)
Retrieves the size of a rectangular area into which the option button (also known as a radio button) can be fitted, while retaining the wrapping capability of the option button.
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 option button.
Return Value
Type: System.Drawing.Size
A System.Drawing.Size that contains the final size of the option button.
See Also
WrappingRadioButton Class
Microsoft.WindowsServerSolutions.Controls Namespace
Return to top