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.v18.2.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:

Show 26 property paths
Library Object Type Path to Mode
ASP.NET Bootstrap Controls BootstrapCardViewEditFormPopupSettings
BootstrapCardViewHeaderFilterPopupSettings
BootstrapGridViewEditFormPopupSettings
BootstrapGridViewHeaderFilterPopupSettings
BootstrapPopupControl
ASP.NET Web Forms Controls PivotGridDataAreaPopup
ASPxPopupControl
ASPxSchedulerPopupForm
TreeListFilterControlPopupSettings
TreeListHeaderFilterPopupSettings
TreeListSettingsPopupEditForm
CardViewEditFormPopupSettings
CardViewFilterControlPopupSettings
CardViewHeaderFilterPopupSettings
GridCustomizationDialogPopupSettings
GridEditFormPopupSettings
GridFilterControlPopupSettings
GridHeaderFilterPopupSettings
GridViewEditFormPopupSettings
GridViewFilterControlPopupSettings
GridViewHeaderFilterPopupSettings
MVCxPopupControl
MVCxTreeListSettingsPopupEditForm
PopupControlSettings
VerticalGridFilterControlPopupSettings
VerticalGridHeaderFilterPopupSettings

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.

See Also