首页 > Windows开发 > 详细

WPF中XAML中使用String.Format格式化字符串示例

时间:2018-06-22 13:00:23      阅读:437      评论:0      收藏:0      [点我收藏+]

https://www.cnblogs.com/candyzkn/p/4476832.html

 

 

<TextBlock Text="{Binding jshjL,Converter={StaticResource StringToDecimalKey},StringFormat=¥\{0:F2\}}"

<!--<TextBlock Text="{Binding strokeNo,StringFormat=\{0\}为真!}" Style="{StaticResource TextTitleBigStyle}" FontWeight="Bold"/>-->

WPF中XAML中使用String.Format格式化字符串示例

原文:https://www.cnblogs.com/changbaishan/p/9212459.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!