![]() |
1
2
您的XAML错误,应该是:
g.cs文件是从xaml生成的,根据xaml,您的基类是usercontrol |
![]() |
2
1
嘿,嗨,@jonny对我来说,它工作得很好,这就是我所做的,我认为你弄乱了名称空间: 我的项目名称空间为:silverlightapplication2 在这个项目中,我在名为cursorbase的cs文件上创建了一个继承它的用户控件:
然后我创建了两个用户控件mycursor.xaml和myothercursor.xaml Myothercursor的XAML:
肌热光标的cs:
与mycursor相同: MyCursor的XAML:
mycursor的cs:
|
![]() |
Bigeyes · 如何在MVVM模式中添加行? 8 年前 |
![]() |
User9898 · 悬停回到原始颜色时为什么选择 9 年前 |
![]() |
Huma Ali · WCF已完成事件中的异常处理 9 年前 |
![]() |
Nerd in Training · 文件副本发布错误 10 年前 |