WpfToolkit DataGrid does not work in Windows Phone 7

前端 未结 1 1285
不知归路
不知归路 2020-12-19 18:09

I am trying to use WpfToolkit DataGrid in Windows Phone 7 project (Silverligt 4) and it\'s not working. Here is the XAML:



        
相关标签:
1条回答
  • 2020-12-19 18:28

    Just when I was about to post the question, the StackOverflow tags auto-suggest showed that there is Silverlight Toolkit. Clearly this is what I should use.

    Since I put all that effort into the question I will leave the question and the answer as a testemant to StackOverflow awesomeness in auto-answering my question.

    EDIT You need Silverlight 3 Toolkit binaries to use DataGrid. You need to add these four references to the project:

    1. System.ComponentModel.DataAnnotations.dll
    2. System.Windows.Controls.Data.dll
    3. System.Windows.Controls.Data.Input.dll
    4. System.Windows.Data.dll
    0 讨论(0)
提交回复
热议问题