Skip to main content

PopupWindow.MaxWidth Property

Gets or sets the maximum width of the window.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


[DefaultValue(typeof(Unit), "")]
public virtual Unit MaxWidth { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit object that defines the maximum width of the window.


If window resizing is allowed (the ASPxPopupControlBase.AllowResize property is set to true) end-users can change a window’s size. You can use the PopupWindow.MinHeight, PopupWindow.MaxHeight, PopupWindow.MinWidth, and MaxWidth properties to specify window size constraints, limiting the window resizing capability of end-users.

Use the MaxWidth property to specify the maximum width to which an end-user can resize the window. To apply the specific maximum width to all windows within an ASPxPopupControl use the ASPxPopupControlBase.MaxWidth property.

See Also