Skip to main content
Tab

PopupControlAdaptivitySettings.Mode Property

Specifies the adaptivity mode for the popup window.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

Declaration

[DefaultValue(PopupControlAdaptivityMode.Off)]
public PopupControlAdaptivityMode Mode { get; set; }

Property Value

Type Default Description
PopupControlAdaptivityMode Off

One of the PopupControlAdaptivityMode enumeration values.

Available values:

Name Description
Off

Adaptivity mode is not used.

OnWindowInnerWidth

Adaptive mode is enabled when the browser window inner width is less than or equal to the value specified by the PopupControlAdaptivitySettings.SwitchAtWindowInnerWidth

Always

Adaptivity mode is always enabled.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Mode
ASP.NET Web Forms Controls ASPxPopupControl
ASP.NET MVC Extensions PopupControlSettings

Remarks

Note that the ASPxPopupControl includes the special size (PopupControlAdaptivitySettings.MaxWidth, PopupControlAdaptivitySettings.MaxHeight, PopupControlAdaptivitySettings.MinWidth, PopupControlAdaptivitySettings.MinHeight) and alignment (PopupControlAdaptivitySettings.VerticalAlign, PopupControlAdaptivitySettings.HorizontalAlign) properties that defines the control’s size in adaptive mode. Use the described settings if you need to specify the control’s size and alignment in adaptive mode.

Note

Adaptive mode does not support dragging.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Mode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also