Changeset 17246 for branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
- Timestamp:
- 09/11/19 14:06:25 (5 years ago)
- Location:
- branches/2925_AutoDiffForDynamicalModels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2925_AutoDiffForDynamicalModels
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Core.Views
- Property svn:mergeinfo changed
/branches/2435-alglib_3_15/HeuristicLab.Core.Views (added) merged: 17034 /trunk/HeuristicLab.Core.Views merged: 17037,17118,17126-17127,17180,17184
- Property svn:mergeinfo changed
-
branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r17035 r17246 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2019Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 104 104 if (Content != null) { 105 105 Caption += " (" + Content.GetType().Name + ")"; 106 foreach (T item in Content )106 foreach (T item in Content.OrderBy(x => x.ToString())) 107 107 AddListViewItem(CreateListViewItem(item)); 108 108 AdjustListViewColumnSizes(); 109 SortItemsListView(SortOrder.Ascending);110 109 } 111 110 } … … 249 248 Clipboard.SetText(builder.ToString()); 250 249 } 250 } else if (itemsListView.MultiSelect && e.KeyData == (Keys.A | Keys.Control)) { 251 try { 252 itemsListView.BeginUpdate(); 253 foreach (ListViewItem item in itemsListView.Items) 254 item.Selected = true; 255 } finally { itemsListView.EndUpdate(); } 251 256 } 252 257 }
Note: See TracChangeset
for help on using the changeset viewer.