将Blend 3 Results Panel中的内容复制到Excel [英] Copying Content in Blend 3 Results Panel to Excel

查看:75
本文介绍了将Blend 3 Results Panel中的内容复制到Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将Expression Blend 3.0 Results窗格的内容复制到Excel?

Is there any way to copy the content of the Expression Blend 3.0 Results pane to Excel?

这是上下文:我目前有很多资源分布在众多资源中字典,但希望将我的所有资源定义折叠到单个字典文件中。 另一个转折点是我当前的词典包含我知道更长时间使用的资源,我只想复制应用于当前项目的资源。 我想要获得应用资源的完整列表的一种方法是在我的app.xaml中注释掉我的"合并字典"块 - 这将在与我的主窗口相对应的"结果"面板中生成警告(这是一个单一窗口项目。) 当然,每次调用资源时都会生成警告。 所以我想我会将"结果"面板内容复制到Excel中,丢弃除"描述"之外的所有列,消除重复项,从而获得当前项目中当前使用的所有资源的列表。 奇怪的是,在我的"结果"面板中点击"Ctrl-A"以选择全部后,我发现复制功能不起作用。 有什么想法? 或者是否有更智能的方法来生成当前项目使用的资源报告?  (没有太多代码 - 我是设计师而不是开发人员;)  )。

Here's the context: I currently have a bunch of resources distributed across numerous Resource Dictionaries, but want to collapse all of my resource definitions into a single dictionary file.  An additional twist is that my current dictionaries contain resources I know longer use, and I only want to copy the resource applied to the current project.  One way I thought to get a complete list of applied resources was to comment out my 'merged dictionary' block in my app.xaml - which would generate a warning in the 'Results' panel corresponding to my Main Window (it's a single window project).  Of course, a warning is generated every time the resource is called.  So I thought I would copy the 'Results' panel content to Excel, throw away every column except the 'Description', eliminate duplicates, and thus have a punchlist of all of the resources currently used in my current project.  Oddly enough, after hitting 'Ctrl-A' in my 'Results' panel to select all, I discovered that the copy function doesn't work.  Any thoughts?  Or is there a more intelligent way to generate a report of resources used by the current project?  (Without too much code -- I'm a Designer not a Developer ;)  ).

推荐答案

你可以试一下,看看它是否适合你:

You can try this and see if it works for you:

1 。在"资源"窗格的"外部资源字典"中选择多个资源(使用Ctrl键),右键单击它们并按"删除"

1. Select multiple resources (using Ctrl key) in the External Resource Dictionary in Resource pane, right click on them and press delete

对于找到的每个资源引用,Blend将提示您使用"现有参考"对话框并且您可以单击取消,将删除未引用的资源。我建议在尝试之前创建一个项目备份:)

For everyresource reference found Blend will prompt you with an Existing Reference dialog and you can click cancel for it, the unreferenced resources will be deleted. I suggest creating a back-up of your project before trying this :)

可能有更好的方法可以做到这一点但是这不应该那么难。

There might be better ways to do this but yes this should not be that hard.

- Navit Saxena

--Navit Saxena


这篇关于将Blend 3 Results Panel中的内容复制到Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆