The question may need to be edited, since I do not think that I definitely know how to do this.
The current configuration of my WPF user control. I have an XmlDataProvider that contains some static XML elements that I use to populate the TreeView control. I am currently using HierarchicalDataTemplate to bind to TreeViewItem
<HierarchicalDataTemplate x:Key="SiteTemplate" ItemsSource="{Binding XPath=pci}">
<TextBlock Text="{Binding XPath=@Name}"/>
</HierarchicalDataTemplate>
<Style TargetType="TreeViewItem">
<Setter Property="IsExpanded" Value="True"/>
</Style>
TreeView Management
<TreeView ItemsSource="{Binding Source={StaticResource SharePointSites}}"
ItemTemplate="{StaticResource SiteTemplate}"
, xml . , , XML .
MVVM IObservable. - ?
:
, . - , ?