Top "Datagrid" questions

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

Button in a column, getting the row from which it came on the Click event handler

I've set the itemsource of my WPF Datagrid to a List of Objects returned from my DAL. I've also added …

c# wpf xaml datagrid datagridview
WPF datagrid selected row clicked event ?

I want to execute some code when a a selected row of the WPF DataGrid is double clicked. I know …

wpf events datagrid
How to refresh a WPF DataGrid?

I have a WPF DataGrid with some data. You can add rows through a separate window. The DataContext is the …

wpf data-binding datagrid
Disable selecting in WPF DataGrid

How can I disable selecting in a WPFTooklit's DataGrid? I tried modifying the solution that works for ListView (from WPF …

c# wpf datagrid focus selection
WPF datagrid empty row at bottom

I bind my datagrid using //fill datagrid public DataTable GameData { get { DataSet ds = new DataSet(); FileStream fs = new FileStream(IMDB.…

wpf datagrid
WPF DataGrid selected row style

I'm stuck with one very stupid problem - need to style selected row in WPF DataGrid. I want to show …

wpf datagrid styles
Proper way to use CollectionViewSource in ViewModel

I used Drag and Drop to bind Data Source object (a DB model) to DataGrid (basically following this example in …

c# wpf mvvm datagrid collectionviewsource
Text alignment in DataGrid

I'm programming by WPF. I need a way to make center content of cells, in DataGrid control. I use this …

wpf xaml datagrid
How to perform Single click checkbox selection in WPF DataGrid?

I have a DataGrid with first column as text column and second column as CheckBox column. What I want is, …

wpf datagrid wpfdatagrid
DataGrid row content vertical alignment

I have a regular DataGrid from WPF 4.0 RTM, where I put data from a database. In order to make clean &…

c# wpf xaml datagrid vertical-alignment