79585822

Date: 2025-04-22 06:42:02
Score: 1.5
Natty:
Report link

I assume VS can't render in design mode custom types like local:PageBase
It might be due to lot of factors: abstract type, there is no default parametreless constructor, errors during resolving dependencies in design time.. and etc.

Try to change in xaml local:PageBase to base type: Page or UserControl(depends on what is your PageBase impelent) and specify the type in x:Class attribute (it should be non abstract with default constructor which will call InitializeComponents or if it custom control - specify DefaultStyleKey)

I assume after succeeded rebuild - you will see the content in design time.

Reasons:
  • Blacklisted phrase (1): what is your
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anton