c# - Is it possible to add a range to UIElementCollection? -


i want add huge amount (100k) of rectangle canvas, programmatically. unfortunately code slow if 1 one via add(). since know number of new elements, i'm looking method first initialize set of new instances , add set uielementcollection (canvas children). looking method addrange, copyfrom (array) or so. idea?

no there no addrange or similar function uielementcollection. cannot add many elements @ same time.

but comments question says, doing wrong if adding 100k elements same canvas.

what trying do?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -