I have a complex WPF Tab control inside a main main window, all in C#, using .NET Framework. The main window provides a consistent main menu and a contentcontrol holding the Tab Control.
Each tab of the tab control presents a different usercontrol using a viewmodel specific to each usercontrol.
Before going down the rabbit hole, I need to know if Elmish.WPF can provide the proper F# backing for this situation.
In studying the examples, the key handoff to Elmish.WPF seems to occur with:
Program.mkSimpleWpf App.init App.update bindings
Once the main window and the first tab are presented, can init, update, and bindings be discriminated unions allowing the user to switch between the tabs? If so, can the new tab state be "fed" into Elmish.WPF?
Any help or suggestions would be most appreciated.
TIA
(To further complicate matters, one of the tabs presents a datagrid with custom adorners for list manipulation).