WPF custom control question
问题 i've done this before but i cannot find my old code. how do you embed a window inside a window. let say i created a custom form and saved it as Window1.xaml, and want to embed it in Window2.xaml, without copy and pasting the xaml code.. TIA EDIT: i think my question is somewhat misleading, i'll rephrase it. i have this Window1.xaml i added custom headers and background images/colors. then in Window2.xaml, i want Window1 to be a custom control and embed it here. not sure if its Content