CRXPF0012 - Columns with the specified Binding property are read-only
In This Article
Severity: Info
The analyzer detects that you use the column’s Binding property to bind the column to a data source field. In this case, users cannot edit this column’s values.
#Examples
#Invalid Code
<dxg:GridColumn Binding="{Binding SomeFieldName}"/>
#Valid Code
<dxg:GridColumn Binding="{Binding SomeFieldName, Mode=TwoWay}"/>
#How to Fix
Set the binding’s Mode
property to TwoWay
to allow users to edit column values.
Refer to the following help topic for more information: Bind Columns to Data Source Fields.