post icon

Silverlight Tip of the Day #24 – Resolving Unknown Objects in VS

If want to use an object but are not certain what namespace it belongs to you can quickly look it up with the following 2 steps:

  • Right click on the object in question.
  • From the context menu, choose Resolve.

OR

  • Click on the object in question
  • Ctrl + period to invoke the context menu.

From here, you can choose to either add a using statement of the namespace to the top of your file or to prepend the namespace to the object as seen in the screenshot below:

image

Thanks,
–Mike

4 Comments

Leave a comment
  1. Dimaz Pramudya
    25. May, 2010 at 9:16 pm #

    Or you can simply press CTRL+. and it will give you similar option.

  2. Snowman
    25. May, 2010 at 9:57 pm #

    Thanks for the shortcut, i’ll update the blog.

  3. Ryan van der Kooy
    26. May, 2010 at 5:42 am #

    In vs2008 i tend to use Shift+Alt+F10. It seems to work pretty well for resolving unknown types, implementing interfaces, etc. I haven’t tried it in vs2010 yet though.

  4. Silverlight VN
    28. Nov, 2010 at 8:34 pm #

    Short-cut Alt+Shift+F10 still working good in VS2010. Feature of Alt+Shift+F10 similar to Ctrl+.