PopupControlAdaptivitySettings.Mode Property
Specifies the adaptivity mode for the popup window.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(PopupControlAdaptivityMode.Off)]
public PopupControlAdaptivityMode Mode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Popup |
Off | One of the Popup |
Available values:
Name | Description |
---|---|
Off | Adaptivity mode is not used. |
On |
Adaptive mode is enabled when the browser window inner width is less than or equal to the value specified by the Popup |
Always | Adaptivity mode is always enabled. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Mode |
---|---|---|
ASP. |
Popup |
|
ASP. |
ASPx |
|
#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.
#Related GitHub Examples
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.