That sounds like a bug; you might want to report it as such. In the meantime, you can wrap the code that sets the item visibility in calls to the control's BeginUpdate and EndUpdate method; the former suspends metrics recalculations and painting, and the latter lifts that suspension.