摘要: var dataItems = dg.ItemsSource?.Cast<Book>()?.ToList(); List<List<Book>> booksListList = new List<List<Book>>(); for (int i = 0; i < dataItems.Count; 阅读全文
posted @ 2024-05-20 20:26 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp35 { internal 阅读全文
posted @ 2024-05-20 20:03 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Copy from https://stackoverflow.com/questions/636383/how-can-i-find-wpf-controls-by-name-or-type //xaml <Window x:Class="WpfApp102.MainWindow" xmlns=" 阅读全文
posted @ 2024-05-20 15:48 FredGrit 阅读(9) 评论(0) 推荐(0) 编辑