
WPF-文章管理系统
WPF相关知识
愚公搬代码
《头衔》:华为云特约编辑,华为云云享专家,华为开发者专家,华为产品云测专家,CSDN博客专家,CSDN商业化专家,阿里云专家博主,阿里云签约作者,腾讯云优秀博主,腾讯云内容共创官,掘金优秀博主,亚马逊技领云博主,51CTO博客专家等。
《近期荣誉》:2022年度博客之星TOP2,2023年度博客之星TOP2,2022年华为云十佳博主,2023年华为云十佳博主,2024年华为云十佳博主等。
《博客内容》:.NET、Java、Python、Go、Node、前端、IOS、Android、鸿蒙、Linux、物联网、网络安全、大数据、人工智能、U3D游戏、小程序等相关领域知识。
展开
-
(精华)2021年02月26日 WPF课程管理系统项目实战(内容中心-骨架屏的使用)
1.定义骨架屏模板 <UserControl x:Class="Zhaoxi.Controls.SkeletonScreen" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.open原创 2021-02-09 22:15:55 · 62298 阅读 · 4 评论 -
(精华)2020年02月09日 WPF课程管理系统项目实战(内容中心-FilTer过滤排序)
1.页面 <ItemsControl ItemsSource="{Binding CourseList}" Name="icCourses"> <RadioButton Content="{Binding CategoryName}" IsChecked="{Binding IsSelected}" Template="{StaticResource CategoryItemButtonTemplate}" Margin="5,0" GroupName="teacher" Cli原创 2021-02-09 21:46:29 · 61346 阅读 · 2 评论 -
(精华)2020年02月08日 WPF课程管理系统项目实战(首页界面-ItemsControl的使用)
1.后台相关代码 public class BoolToArrowConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value != null && bool.Parse(value.ToString()))原创 2021-02-08 00:03:30 · 61182 阅读 · 1 评论 -
(精华)2020年02月08日 WPF课程管理系统项目实战(首页界面-Canvas控件的封装)
1.控件部分代码 <UserControl x:Class="Zhaoxi.Controls.Instrument" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlfo原创 2021-02-06 22:28:19 · 61188 阅读 · 2 评论 -
(精华)2020年02月08日 WPF课程管理系统项目实战(首页界面-LiveCharts的使用)
1:首先引入第三方包 LiveCharts.Wpf 2:引入命名空间并使用 xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" <Border CornerRadius="5" Background="White" Margin="10"> <Border.Effect> <DropShadowEffect C原创 2021-02-06 16:32:28 · 61293 阅读 · 0 评论 -
(精华)2020年02月06日 WPF课程管理系统项目实战(平台布局-转换器的使用)
1:引入命名空间 xmlns:converter="clr-namespace:Zhaoxi.CourseManagement.Converter" 2:转换器类 public class GenderConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {原创 2021-02-06 11:12:54 · 61303 阅读 · 1 评论 -
(精华)2020年02月06日 WPF课程管理系统项目实战(平台布局-抽屉侧滑栏)
相关代码 <!--抽屉侧滑栏--> <Border Background="#EE444444" Width="240" HorizontalAlignment="Right" CornerRadius="0,5,5,0"> <Border.Effect> <DropShadowEffect Color="Gray" Shadow原创 2021-02-06 11:00:33 · 61384 阅读 · 1 评论 -
(精华)2020年02月04日 WPF课程管理系统项目实战(平台布局-Tab切换页面)
页面代码 <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center"> <RadioButton Content="首页" Style="{StaticResource NavButtonStyle}" IsChecked="True" C原创 2021-02-04 00:34:52 · 61555 阅读 · 0 评论 -
(精华)2020年01月27日 WPF课程管理系统项目实战(平台布局-窗口事件)
页面定义事件 <Border Background="#007DFA" Height="200" VerticalAlignment="Top" CornerRadius="5,5,0,0" MouseLeftButtonDown="Border_MouseLeftButtonDown"/> private void Border_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)原创 2021-01-27 00:17:28 · 121577 阅读 · 1 评论 -
(精华)2020年01月26日 WPF课程管理系统项目实战(登陆界面-input聚焦和enter事件监听)
监听enter事件触发 <TextBox.InputBindings> <KeyBinding Key="Enter" Command="{Binding LoginCommand}" CommandParameter="{Binding ElementName=window}"/> </TextBox.InputBindings> 聚原创 2021-01-26 23:51:14 · 121517 阅读 · 0 评论 -
(精华)2020年01月26日 WPF课程管理系统项目实战(登陆界面-等待与跳转)
修改窗体模式 <Application x:Class="Zhaoxi.CourseManagement.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Zhaoxi.C原创 2021-01-26 23:39:41 · 121810 阅读 · 2 评论 -
(精华)2020年01月26日 WPF课程管理系统项目实战(登陆界面-值的双向绑定)
3.附加类实现登陆界面信息绑定 public class NotifyBase : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public void DoNotify([CallerMemberName] string propName = "") { PropertyChanged?.Invoke(th原创 2021-01-26 23:17:26 · 121922 阅读 · 0 评论 -
(精华)2020年01月24日 WPF课程管理系统项目实战(登陆界面-界面移动)
在界面定义MouseLeftButtonDown事件,触发窗体移动 <Border Background="#007DFA" CornerRadius="10,10,0,0" MouseLeftButtonDown="WinMove_LeftButtonDown"/> private void WinMove_LeftButtonDown(object sender, MouseButtonEventArgs e) { if (e.LeftButton == MouseButtonSt原创 2021-01-24 22:26:42 · 121752 阅读 · 2 评论 -
(精华)2020年01月24日 WPF课程管理系统项目实战(登陆界面-关闭逻辑实现)
1:定义公用关闭类 public class CommandBase : ICommand { public event EventHandler CanExecuteChanged; public bool CanExecute(object parameter) { return DoCanExecute?.Invoke(parameter) == true; } public void Execute(object parameter)原创 2021-01-24 22:24:07 · 122001 阅读 · 0 评论 -
(精华)2020年01月26日 WPF课程管理系统项目实战(平台布局-资源字典的使用)
1.以图标为例 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:Zhaoxi.CourseManagement.Assets.Styes"原创 2021-01-17 23:28:49 · 121580 阅读 · 1 评论 -
(精华)2020年01月24日 WPF课程管理系统项目实战(登陆界面-界面布局)
一.登录界面布局 <Window x:Class="Zhaoxi.CourseManagement.View.LoginView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expr原创 2021-01-10 23:27:38 · 122063 阅读 · 0 评论 -
(精华)2020年01月03日 WPF综合案例(菜单布局)
<Window x:Class="MicrosoftToDO.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"原创 2021-01-09 23:55:57 · 121717 阅读 · 0 评论 -
(精华)2020年01月03日 WPF获取窗体资源
2020-12-25 python占位原创 2020-12-26 23:34:02 · 186593 阅读 · 0 评论 -
(精华)2020年01月02日 WPF数据模板
2020-12-25 python占位原创 2020-12-26 23:32:57 · 186607 阅读 · 2 评论 -
(精华)2020年01月02日 WPF控件模板
2020-12-25 python占位原创 2020-12-26 23:32:21 · 186404 阅读 · 1 评论 -
(精华)2020年01月02日 WPF MVVM框架
2020-12-25 python占位原创 2020-12-26 23:31:02 · 186645 阅读 · 2 评论 -
(精华)2020年01月02日 WPF绑定
2020-12-25 python占位原创 2020-12-26 23:30:02 · 186560 阅读 · 2 评论 -
(精华)2020年01月02日 WPF触发器
2020-12-25 python占位原创 2020-12-26 23:29:31 · 186108 阅读 · 3 评论 -
(精华)2020年01月02日 WPF样式
2020-12-25 python占位原创 2020-12-26 23:28:47 · 186388 阅读 · 2 评论 -
(精华)2020年01月02日 WPF控件
2020-12-25 python占位原创 2020-12-25 23:35:33 · 186715 阅读 · 1 评论 -
(精华)2020年01月02日 WPF布局
2020-12-25 python占位原创 2020-12-25 23:34:49 · 186574 阅读 · 0 评论