Example #1
0
 public void Initialize(SiteSettings siteSettings, List <Folder> dataSource, int[] includedFolderTypes)
 {
     this.IncludedFolderTypes = includedFolderTypes;
     this.SiteSettings        = siteSettings;
     this.DataSource          = dataSource;
     FoldersTreeView.AddHandler(TreeViewItem.ExpandedEvent, new RoutedEventHandler(rootNode_Expanded));
 }
Example #2
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     FoldersTreeView.AddHandler(TreeViewItem.ExpandedEvent, new RoutedEventHandler(node_Expanded));
 }