public void Invalidate() { var handler = InvalidateLayer; if (handler != null) { handler(this, new InvalidateLayerEventArgs()); } }