メインウィンドウとして次のxamlを使用したwpfアプリケーションがあります
<Window x:Class="Video_Editor.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
</Grid>
</Window>
「MyControl」という「Control」を継承するクラスもあります。その MyControl のインスタンスを xaml 内に配置できるようにするにはどうすればよいですか。
このようなもの
<Grid>
<MyControl/>
</Grid>