dennismagno / metroframework-modern-ui

My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
http://dennismagno.github.io/metroframework-modern-ui
Other
865 stars 1.08k forks source link

MetroTextBox.WithError Property Attribute Fix #5

Closed SmithsonianDSP closed 7 years ago

SmithsonianDSP commented 8 years ago

Changed the MetroTextBox.WithError property from [EditorBrowsable(EditorBrowsableState.Never)] to [Browsable(False)].

The EditorBrowsable attribute hides the property from appearing in IntelliSense AutoComplete and the Object Browser (unless set to show hidden members) but the WithError property was still being listed in the Visual Studio IDE Properties panel.

(I assume the original intent was to hide this property from showing in the Visual Studio Designer? It doesn't really make sense to have the item visible in the Designer Properties window but not appearing as a member in the code IDE IntelliSense...)