Can't get rid of crosshair (place new item) cursor in Visual Studio 2010 xaml editor
I'm inside a XAML page开发者_StackOverflow中文版, in the Design screen. Somehow I got VS2010 into a mode where it changes the cursor to crosshairs, and when you click you place a UIElement where you clicked. I can't figure out a) how I got into this mode in the first place, and b) how to get out. I like to be able to click on elements in the Design view and automatically navigate to the XAML associated with it, and I can't get back into that mode.
Any ideas?
PS- I'm in Visual Studio Express 2010 for C#, if that makes any difference.
Ok, I figured it out, thanks to Michael Todd. Here is the answer:
The ToolBox usually holds a button for the standard Pointer, which gets you out of the mode I mentioned above. However, if you have edited the display options on the ToolBox, then it may be buried or (possibly?) not visible at all. To fix this, right click on any item in the ToolBox window and select "Reset Toolbox" from the popup menu. The "Pointer" option should now be at the top of the list, under almost every section.
精彩评论