public void EndDirty() { if (_dirtyingDepth > 0) { // 現在安全のためDirtyLayout()は逐次実行させている //if (_dirtyingDepth == 1) { // /// IsInDirtyingがtrueの状態でrepair layoutするために // RepairLayout(); //} --_dirtyingDepth; if (_dirtyingDepth == 0) { /// IsInDirtyingがfalseの状態でrepair paintする _canvas.AdjustRootFigureBounds(); RepairLayout(); RepairPaint(); } } }