uwp - GridView with Caliburn.Micro -


i working caliburn.micro (uwp). , want run uwp application on uwp caliburn.micro project. not work.... :(

my binding knowledge maybe wrong. me ?

first here original uwp project github. drag & drop enable gridview. structure simple. there 4 category has books. can drag , drop book change category.

i want run on caliburn.micro(uwp).

enter image description here

and i make code ( upload github ). in opinion, work 50% ..... : )

question #1 : how bind book ? there no display book items... why ?

enter image description here

question #1 : how bind book ? there no display book items... why ?

the problem have not initialized data source in user control constructor. use following code:

public dragdropview() {     this.initializecomponent();     categorycollectionviewsource.source = new sampledata().getcategorydatasource();     bookcollectionviewsource.source = new sampledata().getbookdatasource(); } 

dragdropview.xaml

itemssource="{binding source={staticresource categorycollectionviewsource}, mode=twoway}" 

enter image description here


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -