Example #1
0
        public MainPage()
        {
            InitializeComponent();
            folderInfo      = new ObservableCollection <Folder>();
            jsonDeserialize = new JsonDeserialize();
            ListView lstView = new ListView();

            //setup settings listView
            lstView.RowHeight    = 60;
            lstView.ItemTemplate = new DataTemplate(typeof(Folder));
        }
Example #2
0
        public FolderInfo(string _pathFolder)
        {
            InitializeComponent();
            jsonDeserializeFolder = new JsonDeserialize();
            secondFolderInfo      = new ObservableCollection <Folder>();
            //setup settings listView
            ListView secondListView = new ListView();

            secondListView.RowHeight    = 60;
            secondListView.ItemTemplate = new DataTemplate(typeof(Folder));
            //call ShowFiles method
            ShowFiles(_pathFolder);
        }