views:

21

answers:

1

I found half of the answer here to my question when searching "what is the attribute to set the default value of a User Control property in the designer where you change it and it bolds".

However the answer neglects to mention the namespace it is in.

Searching through Object Browser yields hundreds of classes/properties with the name Default in it. Google seems to bring up DefaultProperty attribute for ASP.NET, and the MSDN article neglects to mention this ability.

Since I can't find the answer on Google, MSDN, Visual Studio, and using VB.NET does not put the namespace it is in by default, I shall put forth the question.

What namespace is it in?

If it's in System.Windows.Forms, what assembly do I need to reference?

+1  A: 

You're looking for System.ComponentModel.DefaultValueAttribute.

SLaks
Well that would make sense why I couldn't find it. The answer had the wrong name, thanks!
Aequitarum Custos