You could try using the view discovery approach, which allows you to avoid adding views to regions programmatically. This approach sets up a relationship in the
RegionViewRegistry between a region's name and the type of a view. This way when a region is created, a behavior looks for all the
ViewTypes associated with the region and automatically instantiates and loads the corresponding views. Therefore you could try registering your view like this: