XtraPanel.GetPreferredSize(Size) Method

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v21.2.dll

Declaration

[EditorBrowsable(EditorBrowsableState.Advanced)]
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