Skip to main content

Bootstrap Framework Version

This option specifies the Bootstrap framework version used to render DevExpress Bootstrap controls.

Declaration:

<configuration>
...
<devExpress>
  <bootstrap mode="Bootstrap5" />
</devExpress>
...
</configuration>

Note

You should register the DevExpress Web.config section to apply these settings to your project.

This configuration key accepts the following values:

  • Bootstrap3
  • Bootstrap4
  • Bootstrap5 (default)

Note

We do not recommend using Bootstrap v4.0 - v4.6.2 since it is affected by the Bootstrap Cross-Site Scripting (XSS) vulnerability. DevExpress controls do not use Bootstrap scripts, but you can use JavaScript Bootstrap in other parts of your applications. This vulnerability was addressed in v5.0. For more information, refer to this breaking change.

DevExpress configuration section

Corresponding Class

BootstrapConfigurationSection