Skip to main content
All docs
V22.2

CRXPF0004 - Outdated windows

Severity: Info

The analyzer detects that you use outdated DXWindow, DXRibbonWindow, or DXTabbedWindow elements.

Examples

Invalid Code

<dxr:DXRibbonWindow x:Class="Example.MainWindow"
...
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon">

Valid Code

<dx:ThemedWindow x:Class="Example.MainWindow"
                 WindowKind="Ribbon"
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core">

How to Fix

Use the ThemedWindow and specify its WindowKind property to integrate the Tab Control or Ribbon Control into the window.

Refer to the following help topic for more information: ThemedWindow.