Home
Sign Up
Sign In
›
Visual Studio
›
MonoDevelop
1.14
V2EX
›
C#
WPF 如何将外部 xaml 文件通过 UserControl 显示
CrystalMoling
·
Jun 24, 2022
· 2531 views
This topic created in 1591 days ago, the information mentioned may be changed or developed.
如题,现在我有一个放了 xaml 文件的文件夹和一个 ListBox ,我需要将文件夹里的 xaml 文件全部当作 UserControl 添加到 ListBox 里面,有什么方法可以实现吗
xaml
文件夹
listbox
文件
2 replies
•
2022-06-25 12:39:06 +08:00
1
moen
Jun 24, 2022
XamlReader
2
CrystalMoling
OP
Jun 25, 2022
@
moen
这样创建的窗体不能操作吗?我给 Button 添加了 Click 事件后显示“无法绑定到目标方法,因其签名或安全透明度与委托类型的签名或安全透明度不兼容”
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
3176 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 04:35
·
PVG 12:35
·
LAX 20:35
·
JFK 23:35
♥ Do have faith in what you're doing.
❯