Interactivity.Behavior vs attached properties

后端 未结 4 641
萌比男神i
萌比男神i 2021-01-30 17:41

I\'m trying to find some differences between these approaches. Is there any situation where behaviors are used and the same functionality could not be done with attached propert

4条回答
  •  囚心锁ツ
    2021-01-30 18:34

    Behviors are based on attached properties. That means if you can't find specific behavior - you write your own, either based on behavoirs framework provided by Blend or by creating your own AP...

    I always though that behaviors are great evidence of attached properties power. Just incredible what you can get with them.

提交回复
热议问题