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).
and i make code ( upload github ). in opinion, work 50% ..... : )
question #1 : how bind book ? there no display book items... why ?
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}"
Comments
Post a Comment