Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ListChangedEventArgs.cs
Go to the documentation of this file.
2
4{
6
7 public int NewIndex { get; }
8
9 public int OldIndex { get; }
10
12
13 public ListChangedEventArgs(ListChangedType listChangedType, int newIndex)
14 : this(listChangedType, newIndex, -1)
15 {
16 }
17
18 public ListChangedEventArgs(ListChangedType listChangedType, int newIndex, PropertyDescriptor? propDesc)
19 : this(listChangedType, newIndex)
20 {
21 PropertyDescriptor = propDesc;
22 OldIndex = newIndex;
23 }
24
25 public ListChangedEventArgs(ListChangedType listChangedType, PropertyDescriptor? propDesc)
26 {
27 ListChangedType = listChangedType;
28 PropertyDescriptor = propDesc;
29 }
30
31 public ListChangedEventArgs(ListChangedType listChangedType, int newIndex, int oldIndex)
32 {
33 ListChangedType = listChangedType;
34 NewIndex = newIndex;
35 OldIndex = oldIndex;
36 }
37}
ListChangedEventArgs(ListChangedType listChangedType, PropertyDescriptor? propDesc)
ListChangedEventArgs(ListChangedType listChangedType, int newIndex, int oldIndex)
ListChangedEventArgs(ListChangedType listChangedType, int newIndex, PropertyDescriptor? propDesc)
ListChangedEventArgs(ListChangedType listChangedType, int newIndex)