- 博客(3)
- 收藏
- 关注
转载 wpf学习日记-第三篇
Wpf DataGrid MVVM模式实现双击Instead of double-clicking on the cell you may double-click on the grid1 <DataGrid.InputBindings>2 <MouseBinding Gesture="LeftDoubleClick" Command="{Binding Edit}" CommandParameter="{Binding ElementName=UsersDataGrid,
2020-05-27 13:57:22 188
原创 wpf学习日记-第二篇
wpf引用阿里云ttf文件1.官网https://www.iconfont.cn/,选择合适的图片后点击购物车按钮选择完成后点击我的购物车,点击下载代码下载后解压文件,复制里面的ttf文件到wpf项目此处我创建了一个fonts的文件夹并放在了里面,然后右键ttf文件,选择属性,将复制到输出目录改为如果较新则复制然后再App.xaml里添加下面的代码<Application.Resources> <FontFamily x:Key...
2020-05-23 10:22:29 265
转载 wpf学习日记-第一篇
1.wpf双向绑定<!--Xaml程序 --><Grid> <StackPanel> <Button x:Name="btn" Margin="20" Click="btn_Click" Width="40" Height="35"/> <TextBox Text="{BindingElementName=txt2,Path=Text,Mode=TwoWay,UpdateSourceTrigge...
2020-05-22 08:28:40 192
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人