DropDownEditBaseAdaptivitySettings.Mode Property
Specifies the adaptivity mode for dropdown editors.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.2.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(DropDownEditAdaptivityMode.Off)]
public DropDownEditAdaptivityMode Mode { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| DropDownEditAdaptivityMode | Off | One of the DropDownEditAdaptivityMode 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 DropDownEditBaseAdaptivitySettings.SwitchToModalAtWindowInnerWidth property. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to Mode |
|---|---|
| ASPxDropDownEditBase |
|
| DropDownEditPropertiesBase |
|
Remarks
<dx:ASPxDateEdit runat="server" ID="deCheckIn">
<SettingsAdaptivity Mode="OnWindowInnerWidth" />
<CalendarProperties ShowTodayButton="false" ShowClearButton="false"></CalendarProperties>
</dx:ASPxDateEdit>
Online Demo
See Also