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.v20.1.dll

Declaration

public override Size CalcBestSize()
Public Overrides Function CalcBestSize As Size

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