摘要: 有两种方式可以实现在模板中元素绑定到父对象 1、<ContentPresenter Margin=”{TemplateBinding Padding}”/> 2、Color=”{Binding RelativeSource={RelativeSource TemplatedParent},Path= 阅读全文
posted @ 2019-08-26 14:30 beautifulday 阅读(1058) 评论(0) 推荐(0) 编辑