Hello
In the example is a grid with two columns. One column is a TcxButtonEdit. There, <Column OnGetProperties> disables the ButtonEdit in one record.
If now the mouse is moved over this cell, an AV with access violation appears.
AV if mouseover tcxbuttonedit on gird
Answers approved by DevExpress Support
Hello Christian,
I've examined your code and I see that it is incorrect. If you read the "TcxCustomGridTableItem.OnGetProperties Event" help topic that describes how you can use the OnGetProperties event, you will see that modifying the AProperties parameter of the event handler is incorrect. The correct way is to create two RepositoryItems with different settings and set the AProperties parameter to the required RepositoryItem according to your conditions.
Please refer to the T980675: Error in the TcxGrid component, checkbox type field, OnGetPropertiesForEdit event ticket where a similar issue has already been discussed.