How to use Canvas as the ItemsPanel for an ItemsControl in Silverlight 3

前端 未结 4 1933
闹比i
闹比i 2021-02-05 22:13

I am trying to set the Canvas properties in an ItemsControl DataTemplate with Silverlight 3. According to this post, the only way of doing that is to set it using the ItemsCont

4条回答
  •  日久生厌
    2021-02-05 22:23

    I can't explain what you are seeing either. Your Xaml is broken in at least a couple of ways.

    First the Xaml itself fails because this:-