This is a difficult question, but I will try to explain anyway ...
I have a custom control that is used throughout my application. The reason I did this is because I wanted the various windows and dialogs to be fully customizable in my program. Ie button minimize, maximize, close and frames are common. This window is templated inside my generic.xaml. Now it works, and all is well. The idea I got was from http://www.codeproject.com/KB/WPF/CustomFrames.aspx
Now users of this custom window have user controls in their xaml, they mainly use MyWindow as their root element:
<MyWindow>
....
</MyWindow>
But now what I'm trying to do is “enter” some elements into MyWindow from the xaml user control. MyWindow would just have a container to host them. For example, they may want to enter a toolbar button that appears next to the Minimize button. For example, I may have a user control that performs the following actions (where MyWindow is the root element):
<MyWindow>
<MyWindow.ToolBar>
<Button x:Name="BlaBla"/>
</MyWindow.ToolBar>
</MyWindow>
, , "blabla" "". , . I.e., MyWindow.ToolBar. , - ?