Click here to Skip to main content
15,910,980 members
Home / Discussions / WPF
   

WPF

 
QuestionError: Class not registered (Exception from HRESULT: 0x80040154) Pin
Mostafa Sabeti10-Dec-11 22:17
Mostafa Sabeti10-Dec-11 22:17 
AnswerRe: Error: Class not registered (Exception from HRESULT: 0x80040154) Pin
thatraja11-Dec-11 19:52
professionalthatraja11-Dec-11 19:52 
QuestionWPF Radio Button Group Behavior Pin
Eric Woodruff10-Dec-11 15:19
professionalEric Woodruff10-Dec-11 15:19 
AnswerRe: WPF Radio Button Group Behavior Pin
SledgeHammer0110-Dec-11 17:51
SledgeHammer0110-Dec-11 17:51 
Questionhow to hide particular grid. Pin
SRKSHOME9-Dec-11 5:41
SRKSHOME9-Dec-11 5:41 
AnswerRe: how to hide particular grid. Pin
Abhinav S9-Dec-11 23:15
Abhinav S9-Dec-11 23:15 
QuestionDataGrid databinding to List<> properties of an object Pin
Member 84745799-Dec-11 3:21
Member 84745799-Dec-11 3:21 
AnswerRe: DataGrid databinding to List properties of an object Pin
Wayne Gaylard9-Dec-11 5:17
professionalWayne Gaylard9-Dec-11 5:17 
If I get you correctly, you have an Object Period, which has a property that returns a List<FileReference> called FileReferences. Now you want to bind a DataGrid to the FileReferences property of a specific Period.

To accomplish this you would need a Property in your code behind that returns a Period object (call this SelectedPeriod). Then you can bind the DataGrid's ItemsSource property to SelectedPeriod.FileReferences.

I would just like to say, that if you have access to the models, then you should change your collections to return ObservableCollections rather than Lists. ObservableCollections provide notifications about any additions, deletions or other changes, which the bound controls can use to automatically update their display.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

QuestionDependencyProperty doesn't find items in Resource Dictionary Pin
Member 76693458-Dec-11 7:46
Member 76693458-Dec-11 7:46 
QuestionHow to make muti-geometryModel3D to make different colors in trangle Pin
derek09198-Dec-11 2:51
derek09198-Dec-11 2:51 
Questionhow to draw multi-lines in WPF Pin
Hamed Metalgear6-Dec-11 22:10
Hamed Metalgear6-Dec-11 22:10 
AnswerRe: how to draw multi-lines in WPF Pin
Wayne Gaylard6-Dec-11 22:34
professionalWayne Gaylard6-Dec-11 22:34 
GeneralRe: how to draw multi-lines in WPF Pin
Hamed Metalgear6-Dec-11 22:40
Hamed Metalgear6-Dec-11 22:40 
GeneralRe: how to draw multi-lines in WPF Pin
Wayne Gaylard6-Dec-11 22:44
professionalWayne Gaylard6-Dec-11 22:44 
GeneralRe: how to draw multi-lines in WPF Pin
Hamed Metalgear6-Dec-11 22:46
Hamed Metalgear6-Dec-11 22:46 
GeneralRe: how to draw multi-lines in WPF Pin
Pete O'Hanlon6-Dec-11 23:17
mvePete O'Hanlon6-Dec-11 23:17 
QuestionTreeView Data Template & Binding Question Pin
Kevin Marois6-Dec-11 12:44
professionalKevin Marois6-Dec-11 12:44 
AnswerRe: TreeView Data Template & Binding Question Pin
Mycroft Holmes6-Dec-11 13:52
professionalMycroft Holmes6-Dec-11 13:52 
GeneralRe: TreeView Data Template & Binding Question Pin
SledgeHammer016-Dec-11 13:55
SledgeHammer016-Dec-11 13:55 
GeneralRe: TreeView Data Template & Binding Question Pin
Mycroft Holmes6-Dec-11 14:00
professionalMycroft Holmes6-Dec-11 14:00 
GeneralRe: TreeView Data Template & Binding Question Pin
SledgeHammer016-Dec-11 14:17
SledgeHammer016-Dec-11 14:17 
GeneralRe: TreeView Data Template & Binding Question Pin
Mycroft Holmes6-Dec-11 14:21
professionalMycroft Holmes6-Dec-11 14:21 
GeneralRe: TreeView Data Template & Binding Question Pin
SledgeHammer016-Dec-11 14:25
SledgeHammer016-Dec-11 14:25 
GeneralRe: TreeView Data Template & Binding Question Pin
Mycroft Holmes6-Dec-11 16:22
professionalMycroft Holmes6-Dec-11 16:22 
GeneralRe: TreeView Data Template & Binding Question Pin
Kevin Marois6-Dec-11 14:08
professionalKevin Marois6-Dec-11 14:08 

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.