示例#1
0
        public void UpdateItemsList()
        {
            var itemsList = databaseController.GetAllItems();

            ItemsGrid.Items.Clear();
            foreach (var item in itemsList)
            {
                ItemsGrid.Items.Add(item);
            }
        }