惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
博客园 - 司徒正美
美团技术团队
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Troy Hunt's Blog
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
B
Blog
NISL@THU
NISL@THU
月光博客
月光博客
博客园 - 【当耐特】
AWS News Blog
AWS News Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
腾讯CDC
L
Lohrmann on Cybersecurity
The Cloudflare Blog
L
LINUX DO - 最新话题
S
Security @ Cisco Blogs
S
Secure Thoughts
Spread Privacy
Spread Privacy
有赞技术团队
有赞技术团队
The Last Watchdog
The Last Watchdog
Project Zero
Project Zero
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
H
Hacker News: Front Page
S
SegmentFault 最新的问题
Schneier on Security
Schneier on Security
aimingoo的专栏
aimingoo的专栏
P
Privacy & Cybersecurity Law Blog
博客园 - 三生石上(FineUI控件)
Forbes - Security
Forbes - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
InfoQ
T
Tailwind CSS Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
GRAHAM CLULEY
W
WeLiveSecurity
小众软件
小众软件
Recorded Future
Recorded Future
Cyberwarzone
Cyberwarzone
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

SpaceTime Blog

SpaceTime Blog 使用文档 《尘白禁区》二游辩证 Re 从零开始的 WPF 汉堡菜单 (前传) C艹 乱码从入门到放弃 给博客添加网易云外链时掉的坑 BEGINNING
Re 从零开始的 WPF 汉堡菜单 (前传)
Space Time · 2022-03-15 · via SpaceTime Blog

(本文为项目 Ona Pix 的部分开发记录,项目基于 WPF .Net5 框架,开源地址: https://github.com/SpaceTimee/Ona-Pix)

作为一个未来想要成为 Pixiv 第三方客户端的 “大项目”,给 Ona Pix 添加一个设置窗口当然是必不可少的,要想做设置窗口,我第一个想到的就是 Hamberger Menu,汉堡菜单,一个我从爆伯的 UWP 教程中学到的名词

BV1is41197MU

左侧一栏目录,右侧显示内容,肥肠地不辍。我重新看了一遍视频,原来爆伯使用的是一个叫做 SplitView 的控件,那太好了,作为一名资深 CV 党,只需要把代码 Copy 下来,再微改几下,应该就能轻松秒杀了,我心里暗自窃喜,没想到这么轻松就搞定了,完全没难度嘛 ~

虽然但是,然而然而,我的直觉却告诉我,这一切并没有这么简单。其实当我看到 SplitView 这个名字的时候,我心里就凉了半截,以前好像没在工具栏里看到过这个控件啊?该不会是 WinUI 特有的控件吧,但我转念一想,人家 Hyperlink 不也不在工具栏里吗,不照样能在 Label 里使用,我如是安慰自己,抱着试一试的心态,输入 SplitView

Error: 未找到类型“SplitView”。请确保不缺少程序集引用并且已生成所有引用的程序集

好吧,这下是真的彻底寄了,WPF 果然还是没有 SplitView 控件。目前我能想到的,还有2个办法,第一个,在 WPF 中引入 UWP 控件;第二个,自己从零开始手写一个汉堡菜单。两个想法都挺不错,反正做项目的目的也是为了学习新技术,不如两个方案都试一下,我想先试试第二个。

[To Be Continued •ᴗ•]