空の XAML ファイルで使用する必要があるカスタム時間を作成しています。
<windows:BlackAndWhiteWindow x:Class="GSdk.Shared.Windows.TestWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:windows="clr-namespace:GSdk.Shared.Windows"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<windows:AnotherDependencyObject>A string</windows:AnotherDependencyObject>
</windows:BlackAndWhiteWindow>
カスタム クラスの BlackAndWhite ウィンドウ (DependencyObject および IDisposable から継承) が、ビジュアル スタジオから定義されたものを「ダイレクト コンテンツ」として受け入れることを効果的に許可するにはどうすればよいですか?