Skip to main content
A newer version of this page is available. .

XAML Namespaces

  • 3 minutes to read

This document defines XML namespaces and describes how to use them in XAML (that is why it is also correct to call them XAML namespaces). In this topic you can also find a list of all XAML namespaces, defined for DevExpress WPF controls, as well as the usual namespaces mapped to them.

Using XAML Namespaces

In general, XAML namespaces provide the same functionality as the usual namespaces, but can be used in XAML. These namespaces provide the capability to refer to certain types in different name scopes, using namespace names. Note that each XAML namespace can be mapped to one or more ordinary namespace.

Usually when you drop any DevExpress control onto the Window in the Visual Studio designer, a reference to the corresponding XAML namespace is automatically added to the top of the Window’s XAML file. For example, after you drop a GridControl, the following reference will be added.

<Window x:Class="WpfApplication1.Window1"
    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
...

Here, the dxg namespace prefix is used to identify an XAML namespace containing the GridControl class and other classes that are intended to be used with GridControl (e.g. GridColumn). Thus, after a namespace reference has been added, you will be able to reference types from this namespace using the dxg: prefix as follows.

...
<dxg:GridControl Name="gridControl1">
    <dxg:GridControl.Columns>
        <dxg:GridColumn FieldName="Column1" />
        <dxg:GridColumn FieldName="Column2" />
    </dxg:GridControl.Columns>
    <dxg:GridControl.View>
        <dxg:TableView />
    </dxg:GridControl.View>
</dxg:GridControl>
...

DevExpress XAML Namespaces

The table below lists all DevExpress XAML namespaces, along with additional information on them.

Product Prefix XAML Namespace Assemblies Mapped Namespaces
Common dx http://schemas.devexpress.com/winfx/2008/xaml/core DevExpress.Xpf.Core.v17.2.dll DevExpress.Xpf.Core, DevExpress.Xpf.Data
Accordion Control dxa http://schemas.devexpress.com/winfx/2008/xaml/accordion DevExpress.Xpf.Accordion.v17.2.dll DevExpress.Xpf.Accordion
Carousel dxca http://schemas.devexpress.com/winfx/2008/xaml/carousel DevExpress.Xpf.Carousel.v17.2.dll DevExpress.Xpf.Carousel
Charts Suite dxc http://schemas.devexpress.com/winfx/2008/xaml/charts DevExpress.Xpf.Charts.v17.2.dll DevExpress.Xpf.Charts
Data Editors dxe http://schemas.devexpress.com/winfx/2008/xaml/editors DevExpress.Xpf.Core.v17.2.dll DevExpress.Xpf.Editors, DevExpress.Xpf.Editors.Settings, DevExpress.Xpf.Editors.Validation, DevExpress.Xpf.Editors.DateNavigator, DevExpress.Xpf.Editors.Popups, DevExpress.Xpf.Editors.Filtering
Data Grid dxg http://schemas.devexpress.com/winfx/2008/xaml/grid DevExpress.Xpf.Grid.v17.2.dll, DevExpress.Xpf.Grid.v17.2.Core.dll DevExpress.Xpf.Grid, DevExpress.Xpf.Grid.LookUp, DevExpress.Xpf.Grid.TreeList
Diagram Control dxdiag http://schemas.devexpress.com/winfx/2008/xaml/diagram DevExpress.Diagram.v17.2.Core.dll, DevExpress.Xpf.Diagram.v17.2.dll DevExpress.Xpf.Diagram, DevExpress.Diagram.Core
Dock Windows dxdo http://schemas.devexpress.com/winfx/2008/xaml/docking DevExpress.Xpf.Docking.v17.2.dll, DevExpress.Xpf.Layout.v17.2.Core.dll DevExpress.Xpf.Docking
Gauge Controls dxga http://schemas.devexpress.com/winfx/2008/xaml/gauges DevExpress.Xpf.Gauges.v17.2.dll DevExpress.Xpf.Gauges
MVVM Framework dxmvvm http://schemas.devexpress.com/winfx/2008/xaml/mvvm DevExpress.Mvvm.v17.2.dll DevExpress.Mvvm
Map Control dxm http://schemas.devexpress.com/winfx/2008/xaml/map DevExpress.Xpf.Map.v17.2.dll DevExpress.Xpf.Map
Navigation Bar dxn http://schemas.devexpress.com/winfx/2008/xaml/navbar DevExpress.Xpf.NavBar.v17.2.dll DevExpress.Xpf.NavBar
PDF Viewer dxpdf http://schemas.devexpress.com/winfx/2008/xaml/pdf DevExpress.Xpf.PdfViewer.v17.2.dll DevExpress.Xpf.PdfViewer
Pivot Grid dxpg http://schemas.devexpress.com/winfx/2008/xaml/pivotgrid DevExpress.Xpf.PivotGrid.v17.2.dll DevExpress.Xpf.PivotGrid
Printing-Exporting dxp http://schemas.devexpress.com/winfx/2008/xaml/printing DevExpress.Xpf.Printing.v17.2.dll, DevExpress.Xpf.Printing.v17.2.Core.dll, DevExpress.Xpf.Printing.v17.2.Service.dll DevExpress.Xpf.Printing
Property Grid dxprg http://schemas.devexpress.com/winfx/2008/xaml/propertygrid DevExpress.Xpf.PropertyGrid.v17.2.dll DevExpress.Xpf.PropertyGrid
Ribbon dxr http://schemas.devexpress.com/winfx/2008/xaml/ribbon DevExpress.Xpf.Ribbon.v17.2.dll DevExpress.Xpf.Ribbon
Rich Text Editor dxre http://schemas.devexpress.com/winfx/2008/xaml/richedit DevExpress.Xpf.RichEdit.v17.2.dll DevExpress.Xpf.RichEdit
Scheduler dxsch http://schemas.devexpress.com/winfx/2008/xaml/scheduling DevExpress.Xpf.Scheduling.v17.2.dll DevExpress.Xpf.Scheduling, DevExpress.Xpf.Scheduling.Editors, DevExpress.Xpf.Scheduling.Visual
Spreadsheet dxsps http://schemas.devexpress.com/winfx/2008/xaml/spreadsheet DevExpress.Xpf.Spreadsheet.v17.2.dll DevExpress.Xpf.Spreadsheet
Tile and Layout dxlc http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol DevExpress.Xpf.LayoutControl.v17.2.dll DevExpress.Xpf.LayoutControl
Bars dxb http://schemas.devexpress.com/winfx/2008/xaml/bars DevExpress.Xpf.Core.v17.2.dll DevExpress.Xpf.Bars
Book Control, Wizard Control dxco http://schemas.devexpress.com/winfx/2008/xaml/controls DevExpress.Xpf.Controls.v17.2.dll DevExpress.Xpf.Controls
Windows Modern UI dxwui http://schemas.devexpress.com/winfx/2008/xaml/windowsui DevExpress.Xpf.Controls.v17.2.dll DevExpress.Xpf.WindowsUI
Windows Modern UI Navigation dxwuin http://schemas.devexpress.com/winfx/2008/xaml/windowsui/navigation DevExpress.Xpf.Controls.v17.2.dll DevExpress.Xpf.WindowsUI.Navigation
See Also