Beispiel #1
0
        private void CreateButtonItems()
        {
            var query = from module in _modules
                        select new OpenSelectorItem
            {
                Icon = module.Icon,
                Text = $"Open supported files with {module.ModuleName}"
            };

            ItemsCollection.UpdateWith(query);

            ModuleList.ItemsSource = ItemsCollection;
        }