Skip to main content
A newer version of this page is available. .

SimpleButton.CalcBestSize() Method

Calculates the button size required to fit its content, but not exceeding the maximum and minimum values.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public override Size CalcBestSize()

Returns

Type Description
Size

A System.Drawing.Size object specifying the button size that best fits its content, but does not exceed the maximum and minimum values.

See Also