Click here to Skip to main content
15,916,417 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: how to copy dynamically created row values? in grid Pin
mittalamit24-Jun-09 20:34
mittalamit24-Jun-09 20:34 
QuestionCommon Class for the windows Pin
krishnan.s24-Jun-09 0:55
krishnan.s24-Jun-09 0:55 
AnswerRe: Common Class for the windows Pin
Pete O'Hanlon24-Jun-09 1:07
mvePete O'Hanlon24-Jun-09 1:07 
GeneralImport expression blend project in C# Windows Form and exchanging data between them Pin
mukulbudania23-Jun-09 8:47
mukulbudania23-Jun-09 8:47 
GeneralRe: Import expression blend project in C# Windows Form and exchanging data between them Pin
Christian Graus23-Jun-09 10:31
protectorChristian Graus23-Jun-09 10:31 
Questionhow to pass data between windows? Pin
Kunal Chowdhury «IN»23-Jun-09 2:32
professionalKunal Chowdhury «IN»23-Jun-09 2:32 
AnswerRe: how to pass data between windows? Pin
Pete O'Hanlon23-Jun-09 2:58
mvePete O'Hanlon23-Jun-09 2:58 
Questionplz help.... im lost in the mess called grid... Pin
yams251023-Jun-09 0:49
yams251023-Jun-09 0:49 
AnswerRe: plz help.... im lost in the mess called grid... Pin
Christian Graus23-Jun-09 1:05
protectorChristian Graus23-Jun-09 1:05 
GeneralRe: plz help.... im lost in the mess called grid... Pin
yams251023-Jun-09 3:18
yams251023-Jun-09 3:18 
GeneralRe: plz help.... im lost in the mess called grid... Pin
Christian Graus23-Jun-09 10:19
protectorChristian Graus23-Jun-09 10:19 
GeneralRe: plz help.... im lost in the mess called grid... Pin
yams251023-Jun-09 19:17
yams251023-Jun-09 19:17 
GeneralRe: plz help.... im lost in the mess called grid... Pin
Mark Salsbery23-Jun-09 13:05
Mark Salsbery23-Jun-09 13:05 
Questionwpf themes make problems Pin
Feras Mazen Taleb22-Jun-09 23:02
Feras Mazen Taleb22-Jun-09 23:02 
QuestionHow to download images from a mail using Pop3 Pin
Nekkantidivya22-Jun-09 22:59
Nekkantidivya22-Jun-09 22:59 
AnswerRe: How to download images from a mail using Pop3 Pin
ABitSmart22-Jun-09 23:13
ABitSmart22-Jun-09 23:13 
QuestionImages on a curved surface Pin
Sunil P V22-Jun-09 22:36
Sunil P V22-Jun-09 22:36 
QuestionDataGrid Sort not updating automatically Pin
Bijesh22-Jun-09 19:02
Bijesh22-Jun-09 19:02 
Hi,
We are doing some grid evaluations for a project. I am trying out the DataGrid from Microsoft (the WPF Toolkit). We have it bound to an IOBservableCollection, and are simulating lots of updates to the data. The grid refresshes fine in most case. But if I have the grid sorted ona column, and I change the value of the column in the data, the grid data udpates but it does not re-apply the sort. It just shows the column as sorted but the values.

I think this is because a property change on an individual item does not fire a collection changed event in the ObservableCollection. If I fire a collectionChanged event manually the grid does update. I can also make it sort by replacing the object itself. But both these appraches are very CPU expensive.

So what is teh recommended way to reapply the sort on the grid on a data update?
thanks and regards,
Bijesh
AnswerRe: DataGrid Sort not updating automatically Pin
Mark Salsbery22-Jun-09 19:37
Mark Salsbery22-Jun-09 19:37 
GeneralRe: DataGrid Sort not updating automatically Pin
Bijesh22-Jun-09 19:47
Bijesh22-Jun-09 19:47 
GeneralRe: DataGrid Sort not updating automatically Pin
Mark Salsbery22-Jun-09 19:58
Mark Salsbery22-Jun-09 19:58 
GeneralRe: DataGrid Sort not updating automatically Pin
Bijesh22-Jun-09 20:33
Bijesh22-Jun-09 20:33 
GeneralRe: DataGrid Sort not updating automatically Pin
Mark Salsbery22-Jun-09 22:07
Mark Salsbery22-Jun-09 22:07 
GeneralRe: DataGrid Sort not updating automatically [modified] Pin
Bijesh23-Jun-09 2:33
Bijesh23-Jun-09 2:33 
AnswerRe: DataGrid Sort not updating automatically Pin
Pete O'Hanlon23-Jun-09 3:33
mvePete O'Hanlon23-Jun-09 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.