Partilhar via


Windows Forms Design-Time Breaking Changes

Short Description V1.1 Controls with an AutoSize proeprty that is not a boolean will throw an exception when used in the v2.0 designer.
Affected APIs N/A Severity Medium Compat Switch Available No

Description The .NET Framework added a Boolean AutoSize property to Control and the non-boolean AutoSize property on this third party control is being found by TypeDescriptor and we are getting an invalid cast exception when we treat the property as if it's a boolean.

User Scenario N/A

Work Around Change the name or type of the property