Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我经常需要加载面板,它在全屏模式下显示一个不确定的进度条和一个文本块。我使用 Grid 执行此操作,并将可见性设置为可见。我不想将源代码从一页复制到另一页,而是想将其重新用作控件。我可以使用现有的控件吗?
如果要重用控件,创建自己的用户控件是最好的方法。Google上有很多指南,搜索“自定义用户控件silverlight”或类似的东西。