I have some problems trying to update components of surface elements. I dont know if my approach to the problem is wrong, since I’m new to the topic.
My point is represented by the following diagram

According to the option that is selected in the menu, load different user controls as only child of StackPanel but i’m habing problems for update the Listview from loaded user controls, example: when I save a new item I need to recharge the list of items in the ListView
MVVM would be a good pattern here. If you have a problem passing data between controls – why not introduce them on top of unified data layer? Consider this:
Three radio buttons in your Menu, each one’s
IsCheckedproperty bound toVisibilityproperty of your respectiveUserControl.StackPanelholding all threeUserControlsListViewbound to ViewModel’sList<Item>Each of your
UserControlsbound toListView.SelectedItem: one of them usingTextBlockfor read-only, one usingTextBoxfor editing. Third one would create new item in yourList<Item>. You would have to createItemTemplatefor each or create oneUserControl(since they look very much alike) and useDataTemplateSelector.If you’re not familiar with MVVM here is a good start. You can also use one of the existing frameworks like MVVM Light