Top "Datagrid" questions

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

Why does the DataGrid not update when the ItemsSource is changed?

I have a datagrid in my wpf application and I have a simple problem. I have a generic list and …

c# wpf data-binding datagrid itemsource
WPF - How to bind a DataGridTemplateColumn

I am trying to get the name of the property associated with a particular DataGridColumn, so that I can then …

c# wpf binding datagrid datagridtemplatecolumn
How to get a WPF DataGrid cell to right align without making the selectable area on a new row tiny?

I'm using a WPF4.0 DataGrid. When double clicking on a cell in a new row everything works fine unless I've …

wpf xaml datagrid
How can I set the position of my datagrid scrollbar in my winforms app?

In my C# winforms app, I have a datagrid. When the datagrid reloads, I want to set the scrollbar back …

c# winforms datagrid
Select multiple items from a DataGrid in an MVVM WPF project

How can I select multiple items from a DataGrid in an MVVM WPF project?

c# wpf xaml mvvm datagrid
How get a WPF Datagrid with cells that wrap text instead of truncating it?

What must be done to get a WPF DataGrid with cells that wrap text instead of truncating it? Right now …

wpf datagrid word-wrap
WPF datagrid header text binding

The column header of the DataGrid is not a FrameWork element for some reason, and so you cannot use bindings …

wpf data-binding datagrid
WPF DataGrid: CommandBinding to a double click instead of using Events

I know how to use the MouseDoubleClick event with my DataGrid to grab the selectedvalue, but how would one go …

wpf datagrid double-click commandbinding
Align DataGrid Column Header to Center

I need to align WPF DataGrid Column Header text to Center. I created a style and attached that using the …

c# wpf datagrid
WPF DataGrid row double click event programmatically

I need to programmatically create a DataGrid and need to add a double click row event to it. How is …

c# wpf datagrid