DataTemplate vs ItemContainerStyle

前端 未结 1 1521
南旧
南旧 2021-02-15 17:32

I\'ve seen a few other Silverlight \'vs\' questions around, but couldn\'t find any for this particular match-up.

I\'m trying to define the way in which my objects bound

相关标签:
1条回答
  • 2021-02-15 18:32

    Answer 1: yes

    Answer 1a: as far as I can tell you can do all your styling in the ItemTemplate but the ItemContainerStyle has VisualStates which control the Opacity on mouse over/disabled/selected etc.

    If you want to change those opacity state changes, or if you want any Container shape other than a rectangle, like a triangle for example, then you'll have to override the default ItemContainerStyle.

    0 讨论(0)
提交回复
热议问题