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

Posted changbaishan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WPF中XAML中使用String.Format格式化字符串示例相关的知识,希望对你有一定的参考价值。

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格式化字符串示例的主要内容,如果未能解决你的问题,请参考以下文章