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

XtraPanel.GetPreferredSize(Size) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public override Size GetPreferredSize(
    Size proposedSize
)

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