Skip to main content

Document Type Mode

This option specifies the document type. DevExpress controls will be rendered according to this type.

Declaration:

<configuration>
    ...
    <devExpress>
        ...
        <settings doctypeMode="Html5" />
        ...
    </devExpress>
    ...
</configuration>

Note

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

This option is set to “Html5” by default.

Note

The doctypeMode option in the web.config file and the page’s DOCTYPE should be set to the same document type definition (XHTML or HTML5).

DevExpress configuration section

Corresponding Class

SettingsConfigurationSection