标签:block ref 添加 get default source key tar 地方
原文:设置TextBlock默认样式后,其他控件的Text相关属性设置失效问题具体为啥会有这种问题不清楚,解决方案参考:https://bbs.csdn.net/topics/390262033
<DataTemplate x:Key="DataTemplate3">
<Grid>
<TextBlock >
<TextBlock.Resources>
<Style TargetType="{x:Type TextBlock}"/>
</TextBlock.Resources>
</TextBlock>
</Grid>
</DataTemplate>
解:奇葩史
设置TextBlock默认样式后,其他控件的Text相关属性设置失效问题
标签:block ref 添加 get default source key tar 地方
原文地址:https://www.cnblogs.com/lonelyxmas/p/10261614.html