摘要: 在WPF中TextBlock的Text有时内容只需要改变个别数字,而不需要所以内容都修改,这时候就要使用StringFormat, 如: <TextBlock Text="I have xxx friends"/> 这里面的xxx是个变量,那在Binding时应该怎样写呢 <TextBlock Te 阅读全文
posted @ 2023-04-06 19:33 log9527 阅读(370) 评论(0) 推荐(0) 编辑