public DAGroupNode(ServerNode server, Group group)
        {
            Server = server;
            Group  = group;
            Items  = new ObservableCollection <DAGroupItem>();

            Name        = group.Name;
            Icon        = "/Images/DAGroup.png";
            DetailsView = new NodeDetailsView
            {
                Page = new Uri("DAGroupItems.xaml", UriKind.Relative),
                Data = Items,
            };

            Group.DataChange   += OnDataChange;
            Group.ReadComplete += OnDataChange;
        }
Exemplo n.º 2
0
		public Node()
		{
			Children = new ObservableCollection<Node>();
            DetailsView = new NodeDetailsView();
		}
 public Node()
 {
     Children    = new ObservableCollection <Node>();
     DetailsView = new NodeDetailsView();
 }