2016年11月2日

【WPF】TextBox样式重写注意事项

摘要: 1、普通控件重写需要添加一行 <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Margin="{TemplateBinding Padding}"></ContentPresenter> 2、Text 阅读全文

posted @ 2016-11-02 19:14 梦琪小生 阅读(1232) 评论(0) 推荐(1) 编辑

导航