How do I use WPF bindings with RelativeSource?

前端 未结 13 2460
执念已碎
执念已碎 2020-11-22 03:00

How do I use RelativeSource with WPF bindings and what are the different use-cases?

13条回答
  •  生来不讨喜
    2020-11-22 03:47

    I just posted another solution for accessing the DataContext of a parent element in Silverlight that works for me. It uses Binding ElementName.

提交回复
热议问题