#endif
}
- if(value.IsExpanded(this))
+ if(value.IsExpanded())
{
DataRow search;
{
DataRow nextRow = GetNextRow();
if(this == listBox.firstRowShown)
- {
listBox.firstRowShown = nextRow;
- index = after ? (after.index + 1) : 0;
- }
+ index = after.index;
// All rows between ROW (exclusive) and AFTER (inclusive) are decremented by one
// ROW is equal to AFTER's index
}
}
- if(IsExpanded(this))
+ if(IsExpanded())
{
DataRow search;