Top "Wpfdatagrid" questions

A graphical user interface element that presents a tabular view of data.

Implement custom Copy and Paste in WPF DataGrid which works when there are no rows in it

I need to implement a custom copy + cut + paste for data (not text or CSV) to be copied between grids …

c# wpf wpfdatagrid commandbinding routed-commands
How do you rename DataGrid columns when AutoGenerateColumns = True?

I have a simple data structure class: public class Client { public String name {set; get;} public String claim_number {set; …

c# wpf wpfdatagrid rename autogeneratecolumn
WPF: How do I set the focus on a datagrid to a specific row?

I would like to set the focus on the first row of a data grid. This is what I have …

wpf wpftoolkit wpfdatagrid
WPF MVVM retrieve datagrid selected rows

I have a DataGrid with checkbox implemented on it using this code which I found on the internet. <my:…

c# wpf mvvm mvvm-light wpfdatagrid
cannot find Name of DataGridColumn programmatically

I found the Columns collection in my datagrid, and was hoping to iterate through it to find a certain column …

wpf wpfdatagrid datagridcolumn
WPF DataGrid: how do I stop auto scrolling when a cell is clicked?

Problem: If my DataGrid is not entirely visible (horizontal & vertical scrollbars are showing) and I click on one of …

wpf datagrid scroll wpfdatagrid
WPF dataGrid super Header for multiple columns

I want to do Header for multiple columns in WPF DataGrid. I tried with Header template but it will display …

wpf wpf-controls wpfdatagrid wpf-4.0
WPF datagrid: disable editing in certain rows

I have something like orders table bound to a DataGrid. I want to disable editing on rows, where order date …

wpf xaml datagrid wpfdatagrid editing
WPF DataGrid validation errors not clearing

So I have a WPF DataGrid, which is bound to an ObservableCollection. The collection has validation on its members, through …

wpf validation datagrid wpfdatagrid idataerrorinfo
WPF ScrollViewer around DataGrid affects column width

I have a problem with a ScrollViewer that I use to scroll a user control that contains a data grid. …

wpf xaml wpfdatagrid scrollviewer