You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataBindings: can't set formattingEnabled to false in designer #9552
More of it, if you manually change it to false in Form1.Designer.cs - any change in designer will revert it to true.
This is a critical bug for DataBindings. For example you can't bind to CheckState property of CheckBox with formattingEnabled == true - you will get error:
Maybe this is other bug? 🤔
So for now we need to do such a bindings manually outside of *.Designer.cs... 😭
Steps to reproduce
Build, run - try to click checkbox several times - you will see an error. If you change code in Form1.Designer.cs to:
@Olina-Zhang and team:
Could you re-test and confirm for latest Internal Preview and .NET Framework 4.8.1?
Could you then create an issue in the Designer repo and assign me?
Activity
elachlan commentedon Jul 24, 2023
Cc: @merriemcgaw @KlausLoeffelmann
KlausLoeffelmann commentedon Jul 25, 2023
@Olina-Zhang and team:
Could you re-test and confirm for latest Internal Preview and .NET Framework 4.8.1?
Could you then create an issue in the Designer repo and assign me?
Thanks!
MelonWang1 commentedon Jul 26, 2023
@KlausLoeffelmann Create a designer issue: 5387