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.
控制按钮实际上并没有出现在标记中......我确信可以做到这一点,但我无法弄清楚。我试过添加一个按钮,但后来我被骗了。我怀疑有一种方法可以设置命令名称并实现这一点,但到目前为止还没有运气。
我认为在设计视图中,您可以单击控件右上角出现的小箭头并转换为模板。这也可能是特定于 .net 版本的。