Replies: 1 comment
-
Could we also do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the designer use the property names as string in the designer generated code.
It is really error prone when doing properties renaming, where the binding will fail only at runtime.
A better generated code will be:
Note: The
BindingSource
already usestypeof(Person)
in designer code, so there is already a way for the designer to know the full class name to use when reading/saving bindings.Bonus: the
new Binding("Text",...)
should also usenameof(TextBox.Name)
statement.Beta Was this translation helpful? Give feedback.
All reactions