wpfdatagrid
WPF dataGrid Find Single Cell's X and Y and set background colour
I have a typed dataset that is being bound to a datagrid (MVVM).I also have a list of Points (X and Y in the typed dataset) that say which cells have errors.The logic to detect this is complex and is[详细]
2023-02-25 01:30 分类:问答Databinding in WPF DataGrid (C# 4.0)
I\'m just having a play with WPF, and I\'m having a problem with databinding... Here\'s my code so far...[详细]
2023-02-24 07:07 分类:问答How can I pass 2 values to my ValueConverters Class?
I have got this on my Xaml , I am passing value allocated to change gridcell colour. But I want to check also at same time Entered variable value so I can change according to that.How can I pass 2 val[详细]
2023-02-23 22:17 分类:问答Problem with a custom DataTemplate written in pure C# code
I\'ve this piece of XAML code: <DataTemplate x:Key=\"detailsCellTemplate\"> <StackPanel> <TextBlock Padding=\"3, 5, 3, 2\" HorizontalAlignment=\"Left\" FontWeight=\"DemiBold\">[详细]
2023-02-23 03:45 分类:问答Sorting doesn't work on WPF DataGrid templated columns?
I noticed that sorting always do not work on Data开发者_如何学GoGrid templated columns, is there any solution for this problem?You need to set the SortMemberPath=\"PropertyName\" property in your temp[详细]
2023-02-21 12:33 分类:问答Editing a DataGrid in WPF causes a System.NullReferenceException
I have a simple application that reads a list of Albums from a DataBase and fills a ListBox (AlbumShowCase).[详细]
2023-02-21 11:48 分类:问答How we create pages to show records from a DataTable in a DataGrid in WPF?
I have a DataTable for example wi开发者_开发问答th 30 rows, but i only want to show from 0 to 10. And if the user clicks in a button (like forward or next), it will clear the Items in the DataGrid and[详细]
2023-02-20 22:11 分类:问答WPF and entity Framework code first
I would like to implement a simple WPF with a datagrid and a save button. when I click save button it will accept changes (row edit,cell edit, new row, delete etc)[详细]
2023-02-20 15:45 分类:问答How i set a DataTable to be the ItemsSource of a DataGridComboBoxColum?
I have a DataTable with two Columns that i will bind to all the ComboBoxes of a DataGridComboBoxColumn where one of the Columns will be the Text of the Items, and other will be the Values of the Items[详细]
2023-02-20 10:14 分类:问答DataGrid creating RadioButton column
I have objects bound to a DataGrid. I have created a radio button column bound to the Is Default property of the object.[详细]
2023-02-20 02:43 分类:问答