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

Fix and maybe optimize CopyProperty for inherited properties #1850

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

exyi
Copy link
Member

@exyi exyi commented Aug 28, 2024

CopyProperty used the HasBinding method which only checks if the current control has that property set.

Apart from fixing that behavior, the new implementation limits the number of executed GetValue calls and is IBinding checks.

See https://forum.dotvvm.com/t/bp-gridviewtemplatecolumn-how-to-filter/230/4 for some context

CopyProperty used the HasBinding method which only checks
if the current control has that property set.

See https://forum.dotvvm.com/t/bp-gridviewtemplatecolumn-how-to-filter/230/4 for some context
@exyi exyi added the bug label Sep 7, 2024
@tomasherceg tomasherceg merged commit b22dab3 into main-v4 Sep 7, 2024
14 of 15 checks passed
@tomasherceg tomasherceg deleted the fix-CopyProperty-formcontrolsenabled branch September 7, 2024 14:50
@exyi exyi added this to the Version 4.3 milestone Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants