All:
I have followed the examples for adding a RadContextMenu for the header row of a RadGridView and all is working great and it is very useful. However, I recently added this to another grid which contains a DataTemplate for the row details. Inside of this data template we have a small RadGridView displaying some other, related data; my problem is that the RadContextMenu.ContextMenu attached property is inheriting down to this grid inside of the Row Details and I cannot figure out how to turn it off.
I am assuming this is simply a property inheritance from WPF, but I have been unable to determine how to set it back to its default (no / empty) or if this is even possible. I have tried setting the property value explicitly to null on the row detail's grid, but that had no effect.
Worst case I can customize a context menu for the details grid, but was hoping to just turn it off altogether. If anyone could provide any guidance I would really appreciate it.
Thanks,
Adam
I have followed the examples for adding a RadContextMenu for the header row of a RadGridView and all is working great and it is very useful. However, I recently added this to another grid which contains a DataTemplate for the row details. Inside of this data template we have a small RadGridView displaying some other, related data; my problem is that the RadContextMenu.ContextMenu attached property is inheriting down to this grid inside of the Row Details and I cannot figure out how to turn it off.
I am assuming this is simply a property inheritance from WPF, but I have been unable to determine how to set it back to its default (no / empty) or if this is even possible. I have tried setting the property value explicitly to null on the row detail's grid, but that had no effect.
Worst case I can customize a context menu for the details grid, but was hoping to just turn it off altogether. If anyone could provide any guidance I would really appreciate it.
Thanks,
Adam