Skip to main content
A newer version of this page is available. .
Tab

PopupControlAdaptivitySettings.Mode Property

Specifies the adaptivity mode for the popup window.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

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:

Show 26 property paths
Library Object Type Path to Mode
ASP.NET Controls and MVC Extensions PivotGridDataAreaPopup
ASPxPopupControl
ASPxSchedulerPopupForm
TreeListFilterControlPopupSettings
TreeListHeaderFilterPopupSettings
TreeListSettingsPopupEditForm
CardViewEditFormPopupSettings
CardViewFilterControlPopupSettings
CardViewHeaderFilterPopupSettings
GridCustomizationDialogPopupSettings
GridEditFormPopupSettings
GridFilterControlPopupSettings
GridHeaderFilterPopupSettings
GridViewEditFormPopupSettings
GridViewFilterControlPopupSettings
GridViewHeaderFilterPopupSettings
VerticalGridFilterControlPopupSettings
VerticalGridHeaderFilterPopupSettings
ASP.NET Bootstrap Controls BootstrapCardViewEditFormPopupSettings
BootstrapCardViewHeaderFilterPopupSettings
BootstrapGridViewEditFormPopupSettings
BootstrapGridViewHeaderFilterPopupSettings
BootstrapPopupControl
ASP.NET MVC Extensions MVCxPopupControl
MVCxTreeListSettingsPopupEditForm
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