Welcome to our Microsoft Q&A platform!
You can use Task when creating new instance of my custom class on while loop
Task.Run(() =>
{
while loop
});
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have one custom popup wpf control ( Repeater Items control), In the repeater control, every time when press up/down creating im creating new instance of item control added to repeater item collection.
My problem:
I have one progress bar and my custom repeater item control in my application.
Eg: When press up/down keys in my custom control, progress bar animation stops for few milliseconds. this delay when occurs due to , creating new instance of item control when press up/down keys.
Creating instance of certain class cause performance delay in my case.
Any suggestion on this.
Thanks
Welcome to our Microsoft Q&A platform!
You can use Task when creating new instance of my custom class on while loop
Task.Run(() =>
{
while loop
});
Thanks.