ASPxClientPopupControl.SetWindowAdaptiveMaxWidth(window, maxWidth) Method
Sets the maximum width of the specified popup window in adaptive mode.
Declaration
SetWindowAdaptiveMaxWidth(
window: ASPxClientPopupWindow,
maxWidth: number | string
): void
Parameters
Name | Type | Description |
---|---|---|
window | ASPxClientPopupWindow | A ASPxClientPopupWindow object representing the required popup window. |
maxWidth | string | number | An integer value specifying the maximum width of the popup window in adaptive mode as a percentage of the browser window inner width value. |
Remarks
The window parameter defines which popup window (stored in the ASPxPopupControl.Windows collection) should be passed to the method. You can access the required popup window using the ASPxClientPopupControl.GetWindow and ASPxClientPopupControl.GetWindowByName methods.
The PopupControlAdaptivitySettings.Mode property defines when the ASPxPopupControl is in adaptive mode.
See Also