All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.

DevExpress Code Examples

  • 2 minutes to read

You can find all examples that demonstrate the use of DevExpress controls and components for various platforms in the Devexpress-Examples organization on GitHub.

GitHub-examples-intro-image

GitHub

Each example is a separate repository that contains solutions and projects with source code and data files that you can compile into an executable, library, or website. The repository can contain, for instance, a desktop application, web application, or multi-platform solutions.

Branches

The branch version has the xx.x.x+ pattern. That means that the code in this branch works in the specified version and above until the next branch with a higher version. For example, a repo has two branches – 19.1.4+ and 20.2.3+. Hence, the 19.1.4+ branch works from the 19.1.4 to 20.2.2 version, and the 20.2.3+ branch works from the 20.2.3 version to the latest release (21.2.7).

Readme

A repository’s Readme.md file contains the example’s description, lists files to look at, and includes links to corresponding documentation and related examples.

Readme files of web examples can contain the [Run Online] link. Use this button to run the example on our web server and see how the application works. For instance, the ASP.NET MVC Dashboard - Custom Properties example is available online at codecentral.devexpress.com.

Search an Example

You can use GitHub integrated search to search within a particular repository of the Devexpress-Examples organization. See the following topic for details: About searching on GitHub.

Download an Example

To download an example from GitHub, click the Code button to see possible options:

  • Clone the repo
  • Use GitHub Desktop
  • Open the example with Visual Studio
  • Download a ZIP archive

GitHub-examples-code-button

Support Center

All DevExpress examples hosted on GitHub are also available at our Support Center. You can use the search panel to filter by platforms and products and find the example you need:

GitHub-examples-Support-Center-example-filter

The Example Source Files section allows you to view the example on GitHub or download the repository’s content (the latest version) as a ZIP archive.

GitHub-examples-Support-Center-examples-source

If you can run the example online, you also see the Run Online link in the Example Source Files section:

GitHub-examples-Support-Center-examples-source-run-online

Documentation

While you browse through DevExpress’ online documentation, you can find clickable View Example buttons. They allow you to jump to related GitHub repos.

View Example

The button can also have a title:

View Example: How to apply format conditions to Pivot Grid's data cells