It seems that the feature is available in .NET Core and .NET 5 projects. Try experimenting with a new “WPF Application” instead of “WPF App (.NET Framework)”.
In case of .NET Framework, try enabling an option: menu, Tools, Options, Environment, Preview Features, “New WPF XAML Designer…”. Then restart Visual Studio.
Make sure the the <Window> contains the definitions of xmlns:d and xmlns:mc, which usually are already present by default.
Also consider updating Visual Studio.