会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
弹来弹去跑马灯!
wgscd
test red font.
博客园
首页
新随笔
联系
订阅
管理
2021年7月28日
WPF 设置Button的content为多行模式
摘要: 查找button的子元素是个TextBlock,再设置它的TextWrappingProperty属性为 TextWrapping.Wrap。 Button btn2 = new Button() {Content="fdhfhfhfhfghfhfhfhfhhfh",Width=88}; btn2.
阅读全文
posted @ 2021-07-28 11:32 wgscd
阅读(664)
评论(0)
推荐(0)
公告