Skip to main content

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.v24.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