我正在设计一个在belnd 4中的模板。我是.net和blend的新手。我正在尝试将单击事件链接到按钮,但当我转到属性并单击事件时,我得到以下结果
The document item has no code-behind file. Add a code-behind file and a class before adding event handlers我将非常感谢你的帮助
发布于 2011-11-05 08:38:43
我认为您正在尝试为ResourceDictionary文件中的按钮添加事件处理程序。ResourceDictionary只是用来存储控件的样式的。您只能在UserControl或页面中执行此操作。
https://stackoverflow.com/questions/8016871
复制相似问题