Skip to main content
Tab

PopupWindow.MaxWidth Property

Gets or sets the maximum width of the window.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[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.

Remarks

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