Code Analyzers
- 2 minutes to read
Our free CodeRush Extension for Visual Studio can check WPF code for typical errors related to DevExpress WPF Controls. This extension contains analyzers that highlight detected issues in code and display them in the Error List window:
The following table lists available code analyzers:
ID | Title | Description | XAML | C# |
---|---|---|---|---|
CRXPF0001 | Legacy drag-and-drop | Set the Data |
![]() |
|
CRXPF0002 | Column |
Use the Column |
![]() |
|
CRXPF0003 | Field |
The Field |
![]() |
|
CRXPF0004 | Outdated windows | Use the Themed |
![]() |
|
CRXPF0005 | Cell template without PART_Editor | Set the editor’s name to "PART_Editor" to bind and configure the editor. |
![]() |
|
CRXPF0006 | Edit |
Handle the Cell |
![]() |
|
CRXPF0007 | An invalid Event |
Use a valid event name to specify the Event |
![]() |
|
CRXPF0008 | In-place editing is not available when Navigation |
Set the Data |
![]() |
|
CRXPF0009 | Auto |
Set the Table |
![]() |
|
CRXPF0010 | Use Dependency |
Define bindings in column templates through the Dependency attached property to increase performance. |
![]() |
|
CRXPF0011 | The column’s Field |
Specify the Field |
![]() |
|
CRXPF0012 | Columns with the specified Binding property are read-only | Set the binding’s Mode property to Two to allow users to edit column values. |
![]() |
![]() |
CRXPF0013 | Missing End |
The Begin method call requires a subsequent End method call. Otherwise, the control’s UI remains locked. |
![]() |
|
CRXPF0014 | Missing Begin |
Call the Begin and End methods to process collection updates in batches. |
![]() |
|
CRXPF0015 | Begin |
Call the Begin and End methods outside a loop to process all updates in one batch and increase performance. |
![]() |
Refer to the following help topic for more information: Static Code Analysis.