I am trying to render different pages based on a class property in blazor with only 1 tagg.
In WPF i was able to create multiple views and specify in the prop of an object which view to render with the UserControl class.
WPF Datacontext:
public UserControl DetailView { get; set; }
WPF parentView:
<UserControl Content="{Binding DetailView}"></UserControl>
This way i was able to dynamicly render diffrent pages based on the property.
I am trying to achieve the same thing in Blazor. I don't want to use a bunch of If elses in my blazorView