![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
wpf
qq_39740690
这个作者很懒,什么都没留下…
展开
-
Prism框架
ba更改App.xaml.cs文件using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Linq;using System.Threading.Tasks;using System.Windows;using Prism.DryIoc;using Prism.Ioc;namespace Prism框架{ .原创 2022-04-29 12:44:37 · 148 阅读 · 0 评论 -
wpf动画基础
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;.原创 2022-04-25 12:34:31 · 86 阅读 · 0 评论 -
Microsoft.Toolkit.Mvvm
using Microsoft.Toolkit.Mvvm.ComponentModel;using Microsoft.Toolkit.Mvvm.Input;using Microsoft.Toolkit.Mvvm.Messaging;using System.ComponentModel;//using System.Runtime.CompilerServices;using System.Windows;namespace wpf命令{ public class...原创 2022-04-25 09:14:01 · 394 阅读 · 0 评论 -
MVVmLight
namespace wpf命令{ public class MainViewModel:ViewModelBase { //绑定ui .原创 2022-04-23 19:05:21 · 1026 阅读 · 0 评论 -
wpf通知更改INotifyPropertyChanged
按钮更新文本框需要通知事件<Grid> <StackPanel> <TextBlock Text="{Binding Name}"></TextBlock> <Button Content="Show" Command="{Binding ShowCommand}"></Button> </StackPanel> </G...原创 2022-04-21 19:08:54 · 282 阅读 · 0 评论 -
wpf命令
ui与后台分离ICommand接口 <Grid> <!--需要上下文--> <Button Content="hello" Width="50" Height="30" Command="{Binding ShowCommand}"></Button> </Grid>using System;using System.Windows.Input;/原创 2022-04-19 19:24:18 · 493 阅读 · 0 评论 -
wpf绑定
数据绑定可以不用写事件代码用事件代码建立相互连接控件与控件之间建立关系-------wpf绑定<Grid> <StackPanel> <Slider x:Name="slider" Margin="5"></Slider> <!--绑定第一次--> <TextBox x:Name="textbox1" Text="{Binding原创 2022-04-19 18:30:18 · 254 阅读 · 0 评论 -
wpf数据模板
public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); for (int i = 0; i < 10; i++) { list.Items.Add(new ListBoxItem() { .原创 2022-04-19 18:15:06 · 238 阅读 · 0 评论