views:

107

answers:

2

I just wan to know if there are any tools to simulate user control without integrating it to the actual application. I need it just to test the user control's logic and functionality without depending on the whole application itself.

+2  A: 

Visual Studio 2008 does that for you,specify your usercontrol path as StartupUri in app.xaml and press F5, Bingo you can see you control in action :0

Prashant
+2  A: 

If your control is in a control library and you set the control library as the startup project then visual studio will load a User Control Test Container, that is designed just for this purpose, when you start the solution.

You select the control you want to test from a drop down list. You can then browse to and load any control library assembly. (I bet this test container could be loaded independently of Visual Studio but I am not sure how.)

Seth

Seth Spearman
Although this answer really works but the one above matches my scenario. Thanks.
Lawrence A. Contreras