tags:

views:

9

answers:

1

Hello,

I am a beginner in using Blend and WPF in general. I created three user controls. I also created a Window which should house the user controls.

Is there any designer way, like drag dropping the user control into the Window which will make it appear automatically?. Or typing in the XAML is the only way to include it?

+1  A: 

At the bottom of your Blend toolbar (the vertically-oriented list of tools and controls -- on the left, by default), there is a button that looks like right-facing chevrons/arrow.

Clicking this will expand the list of controls at your disposal. You can browse, but by default your cursor will now be in a search box. Type the first few letters of your control name, and you should see it appear. Click it.

Now, at the very bottom of the toolbar, should be your control. Hover your mouse over it to see the name and description, if any.

In the Objects and Timeline pane, select the window or panel to which you want the control added, and then double-click that button at the bottom of the toolbar.

Alternatively, you can drag-and-drop the control into your form or into the Objects and Timeline pane.

Jay
duh!. How did I miss that!.
SKG
@SKG As much as Blend enhances the WPF/SL design experience, I don't think it is a particularly intuitive interface.
Jay