@@ -6,27 +6,27 @@ namespace WinUI.TableView;
6
6
/// <summary>
7
7
/// Provides data for the cell selection changed event.
8
8
/// </summary>
9
- internal class TableViewCellSelectionChangedEvenArgs : EventArgs
9
+ public class TableViewCellSelectionChangedEventArgs : EventArgs
10
10
{
11
11
/// <summary>
12
- /// Initializes a new instance of the TableViewCellSelectionChangedEvenArgs class.
12
+ /// Initializes a new instance of the TableViewCellSelectionChangedEventArgs class.
13
13
/// </summary>
14
- /// <param name="oldSelection ">The old selection of cells.</param>
15
- /// <param name="newSelection ">The new selection of cells.</param>
16
- public TableViewCellSelectionChangedEvenArgs ( HashSet < TableViewCellSlot > oldSelection ,
17
- HashSet < TableViewCellSlot > newSelection )
14
+ /// <param name="removedCells ">The list that contains the cells that were unselected .</param>
15
+ /// <param name="addedCells ">The list that contains the cells that were selected .</param>
16
+ public TableViewCellSelectionChangedEventArgs ( IList < TableViewCellSlot > removedCells ,
17
+ IList < TableViewCellSlot > addedCells )
18
18
{
19
- OldSelection = oldSelection ;
20
- NewSelection = newSelection ;
19
+ RemovedCells = removedCells ;
20
+ AddedCells = addedCells ;
21
21
}
22
22
23
23
/// <summary>
24
- /// Gets the old selection of cells.
24
+ /// Gets a list that contains the cells that were unselected .
25
25
/// </summary>
26
- public HashSet < TableViewCellSlot > OldSelection { get ; }
26
+ public IList < TableViewCellSlot > RemovedCells { get ; }
27
27
28
28
/// <summary>
29
- /// Gets the new selection of cells.
29
+ /// Gets a list that contains the cells that were selected .
30
30
/// </summary>
31
- public HashSet < TableViewCellSlot > NewSelection { get ; }
31
+ public IList < TableViewCellSlot > AddedCells { get ; }
32
32
}
0 commit comments