I have a WPF project with a DataGrid in my window and, initially, I just set its ItemsSource to a collection of objects, and the grid auto-generated columns, based on their properties. In that stage when starting the application I, as the user, could click a cell (in the user interface) and it would allow me to select/drag-select part of the text in that cell.
Now I disabled the auto-generation of columns and defined custom columns, binding them to select properties of said objects. And now clicking a cell just selects the entire cell and its entire contents. I've looked at all DataGrid and DataGridCell properties but don't see anything which would obviously alter this behaviour.
How can I set a manually defined DataGridTextColumn in the XAML to have the text content of its cells be partially selectable, instead of only being able to select the entire cell content?