XtraPanel.GetPreferredSize(Size) Method

Retrieves the size of a rectangular area into which the panel can be fitted.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public override Size GetPreferredSize(
    Size proposedSize
)
Public Overrides Function GetPreferredSize(
    proposedSize As Size
) As Size

Parameters

Name Type Description
proposedSize Size

A custom-sized area for the panel.

Returns

Type Description
Size

A Size value that specifies a rectangle into which the panel can be fit.

See Also