Ejemplo n.º 1
0
		public TreeViewBackend ()
		{
			Tree = new ExTreeView();
			Tree.Resources.MergedDictionaries.Add (TreeResourceDictionary);
			Tree.ItemTemplate = new HierarchicalDataTemplate { ItemsSource = new Binding ("Children") };
			Tree.SetValue (VirtualizingStackPanel.IsVirtualizingProperty, true);
		}
Ejemplo n.º 2
0
        public TreeViewBackend()
        {
            Tree = new ExTreeView();
            Tree.Resources.MergedDictionaries.Add (TreeResourceDictionary);
            Tree.ItemTemplate = new HierarchicalDataTemplate { ItemsSource = new Binding ("Children") };

            //VirtualizingStackPanel.SetIsVirtualizing (Tree, false);
        }
Ejemplo n.º 3
0
 public TreeViewBackend()
 {
     Tree = new ExTreeView();
     Tree.Resources.MergedDictionaries.Add(TreeResourceDictionary);
     Tree.ItemTemplate = new HierarchicalDataTemplate {
         ItemsSource = new Binding("Children")
     };
     Tree.SetValue(VirtualizingStackPanel.IsVirtualizingProperty, true);
 }
Ejemplo n.º 4
0
        private void FindParent()
        {
            FrameworkElement e = this;

            while (this.view == null && e != null)
            {
                this.view = e.Parent as ExTreeView;
                e         = (FrameworkElement)e.Parent;
            }
        }
Ejemplo n.º 5
0
 public ExTreeViewItem(ExTreeView view)
     : this()
 {
     this.view = view;
 }
Ejemplo n.º 6
0
 public ExTreeViewItem(ExTreeView view)
     : this()
 {
     this.view = view;
 }
Ejemplo n.º 7
0
 private void FindParent()
 {
     FrameworkElement e = this;
     while (this.view == null && e != null) {
         this.view = e.Parent as ExTreeView;
         e = (FrameworkElement)e.Parent;
     }
 }