public void InvalidateBatchingState(bool childrenChanged)
{
if (childrenChanged && _fBatchingRoot)
_fBatchingRequested = true;
else
{
Container p = this.parent;
while (p != null)
{
if (p._fBatchingRoot)
{
p._fBatchingRequested = true;
break;
}
p = p.parent;
}
}
}