HtmlContentPopup.CalcBestSize(IWin32Window, Int32) Method
In This Article
Calculates the popup size required to fit its content without exceeding the maximum width.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public Size CalcBestSize(
IWin32Window owner,
int maxWidth
)
#Parameters
Name | Type | Description |
---|---|---|
owner | IWin32Window | The owner of this popup. |
max |
Int32 | The maximum allowed popup width. |
#Returns
Type | Description |
---|---|
Size | The optimal popup size required to fit the popup content. |
See Also