Когда пользователь нажимает на строку в datagrid (или использует клавиатуру), эта строка выбирается, но конкретная ячейка, на которую они нажали, также получает свой особый фокус. Это прекрасно для сетки редактирования данных, но я пытаюсь создать нечто большее, чем открытое диалоговое окно, показывающее свойства для каждого элемента в списке, поэтому...
Можно ли настроить DataGrid (только для чтения), чтобы пользователь мог выбирать или фокусировать только целые строки, а не отдельные поля.
Если это невозможно, есть ли элегантный способ сделать только первый элемент, который можно выбрать - например, в стандартном диалоговом окне Windows Open, если вы перейдете к представлению Details, для каждой строки будет несколько столбцов (имя файла, дата создания, Размер и т.д.), Но вы можете выделить только элементы в столбце имени файла.