protected virtual void HandleLayout(object sender, LayoutEventArgs e)
{
// We have to delay executing the recalculation of the columns, since virtual lists
// get terribly confused if we resize the column widths during this event.
if (!this.hasResizeColumnsHandler) {
this.hasResizeColumnsHandler = true;
this.RunWhenIdle(this.HandleApplicationIdleResizeColumns);
}
}