src/Misc/EFTools/DesignXmlCore/Base/Shell/TreeGridDesignerTreeControl.cs
/// <summary>
///     If BatchDrawItem == true, store the index of the item to be drawn,
///     but dont actually do the drawing until BatchDrawItem is set to false.
/// </summary>
If BatchDrawItem == true, store the index of the item to be drawn,
but dont actually do the drawing until BatchDrawItem is set to false.
If BatchDrawItem == true store the index of the item to be drawn but dont actually do the drawing until BatchDrawItem is set to false .
protected override void OnDrawItem(DrawItemEventArgs e)
        {
            if (IgnoreDrawItem)
            {
                return; 
            }
            if (BatchDrawItem)
            {
                if (!_invalidItems.Contains(e.Index))
                {
                    _invalidItems.Add(e.Index);
                }
                return;
            }
            base.OnDrawItem(e);
        }
protected override void OnDrawItem ( DrawItemEventArgs e ) { if ( IgnoreDrawItem ) { return ; } if ( BatchDrawItem ) { if ( ! _invalidItems . Contains ( e . Index ) ) { _invalidItems . Add ( e . Index ) ; } return ; } base . OnDrawItem ( e ) ; }
If BatchDrawItem == true, store the index of the item to be drawn,
but dont actually do the drawing until BatchDrawItem is set to false.
If BatchDrawItem == true store the index of the item to be drawn but dont actually do the drawing until BatchDrawItem is set to false .
// return immediately if IgnoreDrawItem is set.
e
DrawItemEventArgs