I would like to apply the BordelessWindowBehaviour, however, this behaviour can only be added to Window Type. If I try to add it in an UserControl, I get:
Cannot attach type "BorderlessWindowBehavior" to type "MainView". Instances of type "BorderlessWindowBehavior" can only be attached to objects of type "Window".
So, my first idea is to use a Window, but then I get the following error in Prism when I try to register the view with region:
regionManager.RegisterViewWithRegion(RegionNames.MainRegion, typeof(MainView));
ViewRegistrationException Window must be the root of the tree. Cannot add Window as a child of Visual.
Take a look at WPF FlashMessage
About.me