BrightIdeasSoftware.ObjectListView.HandleLayout C# (CSharp) Method

HandleLayout() protected method

When the size of the control changes, we have to resize our space filling columns.
protected HandleLayout ( object sender, LayoutEventArgs e ) : void
sender object
e LayoutEventArgs
return void
        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);
            }
        }
ObjectListView