WPF Application - Visual Studio 2008 Toolbox Not Loading Correctly!


Question: 

I'm pretty new to WPF however i've got a solid understanding of WindowsForms. When I create a new WinForms application in Visual Studio the Toolbox displays a huge list of different controls that can be used for developing the program.

However, this is only the second time i've started to design stuff in WPF and the toolbox is literally only showing a few of the common controls - things like text boxes and buttons and not much else.

I've create a WPF app before in which i dragged a flow document onto the grid and played around with its capabilities, but that doesn't seem to be there.

No idea why this is happening? Something not loading correctly?

Any help would be greatly appreciated!




3 Answers: 

You can reset the toolbox to its original state using the Choose Toolbox Items Dialog.

Be aware, though - WPF has far fewer controls in the Toolbox than Windows Forms. By default, there will not be many controls available, especially if you're comparing it against a windows forms control/form.

 

Go to tools -> Import and Export settings -> Wizard will be opened choose Import selected environment setting click next you will find sth similar to this

C:\Documents and Settings\deepak.kumar2\My Documents\Visual Studio 2008\Settings\VWD Express

A file will be selected by default, change this file either in VWD Express folder or in Settings folder

this name will be sth like CurrentSettings.vssettings now click next and close

now go to tools-> Choose toolbox items -> select WPF Component tab now choose any control from the available list

Deepak Kalra

 

I had problems once with VS2008 not showing toolbox items. Although my problem wasn't related to WPF, the solution I found might be useful - what I did was to start Visual Studio through command line, using an option to reset skip packages during load.

From VS command prompt:

devenv.exe /resetskippkgs
 

More Articles


android - Horizontal and Vertical linear layout inside a scroll view

I am trying to get a combination of Views established. They must constantly have a Button and Edittext box at the top horizontally next to each other and below that a vertical list of Textviews. The vertical list should be enclosed in a ScrollView to allow the user to scroll down through the TextVie

WPF c# window navigation

i got 2 window , i want to navigate from one another but i when i debug it , it shows that nav is null , why is that so? Does it suppose to be null? because i used the same way to navigate in the past and it work and i try it now , it doesn't work. But if i put nav == null , it says nav.Navigate(n

jquery - CSS for toolbar with UI Slider centered between left and right buttons

I'm attempting to create a 100% width toolbar. This toolbar needs to have a variable number of buttons aligned to the left side, as well as a variable number of buttons aligned to the right. That's the easy part.But now I want to put a jQuery UI slider in the center that takes up the full remaining


formatting - Excel 2007 floating format toolbar customisation

Is it possible in Excel 2007 to customise the floating format bar that is shown when you right-click on a cell? To avoid confusion, I don't mean the "Cell" commandbar menu, but the second floating toolbar with formatting buttons.e.g. is it possible to add a Styles dropdown, or have any other text al

wpf - Giving a stackPanel the same LinearGradientBrush as the toolbar has by default

I have two ToolBars side by side (I had to do that so I could align buttons right and left)But now, I have to add some text that can be aligned right left or center between both toolbars. I added the text in a TextBlock inside a StackPanel disposed on a Grid at the second position (between the toolb

c# - Datagrid Binding in code behind versus DataGrid binding in XAML

I am testing WPF and bindings.I have a demo which is working fine with my bindings done in the code-behind.Here is my XAML code and C# code.<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi


Debugging with PhpStorm locally

Kind of a noob question. I'm uploading to a remote server. I've been advised to debug locally (versus remotely). How am I to pull up my files in a browser, then use the debugging tools in PhpStorm? As it stands, my remote host (in PhpStorm) is configured. I've done my own research but can't seem to

xamarin.forms - How to add background image to grid layout in xamarin forms?

I have four rows and two columns.I need to display the background image to full grid.Please provide me solution.I had referred this creating background image in content page link:Xamarin Forms - how to add background image to a content page.But how to set background image to grid layout.

c# - Custom Control, bind to code behind

Having trouble binding to the data in my code behind for my custom control. Obviously I have got to use the Generic.xaml to style my control, and I want to bind to the data in my control UserProfile.cs. This is the code behind:using System;using System.Windows;using System.Windows.Controls;namespace

PhpStorm: automatically rename file on remote host when renaming it locally

Is there any configuration in PhpStorm that automatically renames file on remote host when you rename it locally and reverse?