Skip to main content

ASPxPopupControl.ShowViewportScrollbarWhenModal Property

Gets or sets a value that specifies whether the vertical and horizontal scroll bars can be displayed in the viewport when a popup window is shown in modal mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public bool ShowViewportScrollbarWhenModal { get; set; }

Property Value

Type Default Description
Boolean false

true, if scroll bars are available; otherwise, false.


The ShowViewportScrollbarWhenModal property controls the availability of scroll bars in the viewport when a popup window is used in modal mode (the ASPxPopupControl.Modal property is enabled). Note that the ShowViewportScrollbarWhenModal property is not in effect if the ASPxPopupControl.ShowPageScrollbarWhenModal is enabled.

To learn more, see the following example:T495532

See Also