10 2021 档案
摘要:1、ControlTemplate只能包括一个子项,如下图可以用个Border作为根子项再在其中添加 <ControlTemplate x:Key="CloseBtnStyle" TargetType="Button"> <Border Background="DarkOrange" CornerR
阅读全文
摘要:<!--第一种默认的方式 指定绑定的数据源和路径--> <TextBlock Text="{Binding Source={StaticResource ViewModel}, Path=temp}" ></TextBlock> <!--第二种采用Element方式--> <TextBlock Te
阅读全文

浙公网安备 33010602011771号