MULTIPLE VIEWS C++
Hello, I have a question about creating a game interface. For example, I listed that I might need 34 windows. Possibly, it would be one view for each. Then I saw some topics about creating just one Noesis::CreateView as a Window.xaml and maybe using ItemsControl or something similar to display the views that are in a visible state. My question is, is this correct? Also, do I need to create a class, perhaps a UserControl for each window and use Noesis::GUI::LoadComponent after initialization? I'm using C++
Re: MULTIPLE VIEWS C++
View instances are resource-intensive, so we always recommend creating as few as possible. In your case, a single View is sufficient, and you can dynamically update the root content using code. To load each screen, you can use Noesis::GUI::LoadXaml(PATH_TO_XAML). Please refer to our C++ examples for guidance.
Who is online
Users browsing this forum: Google [Bot] and 1 guest