✅ Abstract classes as the WPF DesignContext?

Does it matter if the value in d:DesignContext="{d:DesignInstance Type=X}" is an abstract class. I can't get the WPF design to acknowledge my type. I know some of you guys have said not to rely on it, but it does help from time to time and I at least like the design context set. I've tried deleting the bin and obj folders for that project and restarting VS. Didn't help.
<Base:AbstractVisualConversationTabCtrl
    x:Class="BestChat.IRC.Global.View.ConversationViewCtrl"
    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:local="clr-namespace:BestChat.IRC.Global.View"
    xmlns:Base="clr-namespace:BestChat.GUI.Ctrls;assembly=BestChat.GUI.Ctrls"
    xmlns:OurDataCtxt="BestChat.Platform.Conversations;Assembly=BestChat.Platform.Conversations"
    xmlns:DataDefs="clr-namespace:BestChat.IRC.Data.Defs;assembly=BestChat.IRC.Data"
    xmlns:CalcBinding="clr-namespace:CalcBinding;assembly=CalcBinding"
    xmlns:Emoji="clr-namespace:Emoji.Wpf;assembly=Emoji.Wpf"
    xmlns:Ctrls="clr-namespace:BestChat.IRC.Global.View.Ctrls;assembly=BestChat.IRC.Global.View.Ctrls"
    xmlns:GuiCtrls="clr-namespace:BestChat.GUI.Ctrls;assembly=BestChat.GUI.Ctrls"
    d:DataContext="{x:Type d:DesignInstance Type=OurDataCtxt:AbstractConversation}"
    mc:Ignorable="d">

Then inside BestChat.Platform.Conversations.dll, we have BestChat.Platform.Conversations.AbstractConversation. Those appear to match to me.
namespace BestChat.Platform.Conversations
{
    public abstract class AbstractConversation
.
.
.
}
Was this page helpful?