<ListBox Grid.Row="1" Margin="10" Height="100" Name="PluginList" ItemsSource="{Binding Plugins}" ItemTemplate="{StaticResource DetailsTemplate}" SelectionChanged="ListBox_SelectionChanged"/>
private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { IUIViewProviderBase selectedPlugin = PluginList.SelectedItem as IUIViewProviderBase; ExportFactory<IView> Iviews = selectedPlugin.Entry; IView item = Iviews.CreateExport().Value as IView; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)