XtraPanel.GetPreferredSize(Size) Method
Retrieves the size of a rectangular area into which the panel can be fitted.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
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