Click here to Skip to main content
15,885,366 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How to measure cold startup time Pin
#realJSOP22-Jul-09 2:42
mve#realJSOP22-Jul-09 2:42 
QuestionCreating a list... Php and Silverlight just point me in the right direction please? Pin
Joe881021-Jul-09 11:26
Joe881021-Jul-09 11:26 
AnswerRe: Creating a list... Php and Silverlight just point me in the right direction please? Pin
Michael Sync23-Jul-09 6:18
Michael Sync23-Jul-09 6:18 
QuestionI just heard that HTML5, which can realize most functions of Silverlight, true? Pin
Seraph_summer21-Jul-09 9:24
Seraph_summer21-Jul-09 9:24 
QuestionDataBinding composite controls Pin
Adriaan Davel21-Jul-09 6:57
Adriaan Davel21-Jul-09 6:57 
AnswerRe: DataBinding composite controls Pin
Michael Sync23-Jul-09 6:36
Michael Sync23-Jul-09 6:36 
GeneralRe: DataBinding composite controls Pin
Adriaan Davel23-Jul-09 19:27
Adriaan Davel23-Jul-09 19:27 
GeneralRe: DataBinding composite controls Pin
Michael Sync23-Jul-09 20:05
Michael Sync23-Jul-09 20:05 
You can probably use Event Aggregator Pattern or Mediator patten to achieve this. In our project, we are using the Event Aggregator implementation from Prims Framework to deal with this kinda scenero. We used to have MainCRUD.xaml, Listing.xaml and Details.xaml. Listing.xaml and Details.xmal will be shown in MainCRUD.xaml.

There are a few ways to handle it.

Approach #1. MainCRUD will listen the SendPropertyChanged from Listing. If the user select a row, the SelectedEntity property that is binded to the selected item of Datagrid will be triggered the SendPropertyChanged and MainCRUD will get that notification.

Approach #2. use Event Aggregator Pattern or Mediator patten

Hope it helps. Smile | :)

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

Microsoft MVP (Silverlight), WPF/Silverlight Insiders

GeneralRe: DataBinding composite controls Pin
Adriaan Davel23-Jul-09 21:21
Adriaan Davel23-Jul-09 21:21 
GeneralRe: DataBinding composite controls Pin
Jeremy Likness26-Jul-09 3:08
professionalJeremy Likness26-Jul-09 3:08 
GeneralRe: DataBinding composite controls Pin
Adriaan Davel27-Jul-09 1:43
Adriaan Davel27-Jul-09 1:43 
QuestionGlobal Styles [modified] Pin
#realJSOP21-Jul-09 4:57
mve#realJSOP21-Jul-09 4:57 
AnswerRe: Global Styles Pin
Pete O'Hanlon21-Jul-09 9:59
mvePete O'Hanlon21-Jul-09 9:59 
GeneralRe: Global Styles Pin
#realJSOP21-Jul-09 10:18
mve#realJSOP21-Jul-09 10:18 
GeneralRe: Global Styles Pin
Pete O'Hanlon21-Jul-09 10:24
mvePete O'Hanlon21-Jul-09 10:24 
GeneralRe: Global Styles Pin
#realJSOP21-Jul-09 10:52
mve#realJSOP21-Jul-09 10:52 
GeneralRe: Global Styles Pin
Pete O'Hanlon21-Jul-09 11:31
mvePete O'Hanlon21-Jul-09 11:31 
GeneralRe: Global Styles Pin
#realJSOP21-Jul-09 23:31
mve#realJSOP21-Jul-09 23:31 
GeneralRe: Global Styles Pin
Pete O'Hanlon22-Jul-09 0:22
mvePete O'Hanlon22-Jul-09 0:22 
GeneralRe: Global Styles Pin
#realJSOP22-Jul-09 2:21
mve#realJSOP22-Jul-09 2:21 
GeneralRe: Global Styles Pin
Pete O'Hanlon22-Jul-09 2:23
mvePete O'Hanlon22-Jul-09 2:23 
GeneralRe: Global Styles Pin
#realJSOP22-Jul-09 2:41
mve#realJSOP22-Jul-09 2:41 
GeneralRe: Global Styles Pin
Pete O'Hanlon22-Jul-09 3:43
mvePete O'Hanlon22-Jul-09 3:43 
QuestionSilverlight : Dynamic plugins? Pin
User 527145421-Jul-09 3:48
User 527145421-Jul-09 3:48 
AnswerRe: Silverlight : Dynamic plugins? Pin
Ray Cassick21-Jul-09 18:06
Ray Cassick21-Jul-09 18:06 

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.