Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CanvasControl constructor performance #893

Open
arivoir opened this issue Dec 12, 2022 · 1 comment
Open

CanvasControl constructor performance #893

arivoir opened this issue Dec 12, 2022 · 1 comment
Assignees

Comments

@arivoir
Copy link

arivoir commented Dec 12, 2022

I've been researching into using CanvasControl inside the cells of a data grid control, expecting to draw the content of the cells instead of laying out a textbox, and found it's actually a little faster, but I found that creating the CanvasControl's is too heavy

image

Would it be possible to make CanvasControl constructor lighter?

@getrou
Copy link
Member

getrou commented Feb 15, 2023

This is a good suggestion! I will at least dig in and see what parts of the constructor are taking so many resources, and then see if we can slim some of it down.

@getrou getrou self-assigned this Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants