一千萬個為什麽

搜索

Expression Blend包含代碼復選框

I'm new to wpf and i'm using Expression Blend 4 to create a new wpf application.
I want to create a bunch of windows and write the back-end code using IronRuby. But while creating a new document or application i don't want to generate the code-behind C# file for the new document.
But the include code check box doesn't appear while i choose the "Add new Item" from the File menu. Is there any other way to do this?? Thanks in advance.

最佳答案

您無法在Expression Blend中使用復選框來關閉代碼隱藏文件。但還有另一種可能有幫助的方法。您可以創建自定義項目模板和項目模板,並將它們放在特定位置,以便Expression Blend可以找到它們。

有關如何執行此操作的確切詳細信息,請參閱這裏

轉載註明原文: Expression Blend包含代碼復選框