WPF绑定数据源之RelativeSource

 Command="{Binding ConfirmRegisterCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self},Path=DataContext}"

一.FindAncestor

posted @ 2015-01-21 20:14  长白山  阅读(1614)  评论(0编辑  收藏  举报