I have run into a strange situation and clearly there's something I am missing here.
I am using the following code construct inside OnRender():
OnRender() { // some code Action<int> paintString = (barIndex) => { TriggerCustomEvent(o => { // some code RenderTarget.DrawTextLayout(...); }, null); }; // some code paintString(0); }
Comment