wpf - How to add a UserControl to a Window in BlendDesigner? -
I am usually beginning to use Blend and WPF. I made three user controls. I also created a window that should be user control.
Is there a designer method, such as pulling user controls in the window, which it will automatically appear? Or typing in XML is the only way to include it?
The vertical-oriented list of devices and controls, at the bottom (on the left, by default ), A button that looks like right-faced chevres / arrows.
Clicking on this will expand the list of controls in the settlement. You can browse, but by default, your cursor will now be in the search box. Type some letters in front of your control name, and you should see it. Click it.
Now, below the toolbar's lot , you should be in control.
In the object and the timeline pane, select the window or panel in which you want to add control, and then double-click on that button under the toolbar.
Alternatively, you can drag-and-drop in your form or in the objects and timeline pane.
Comments
Post a Comment