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