PROKA Posted September 28, 2004 Posted September 28, 2004 I have built an user control and I have a property named "LineWidth" what I want is that this property to appear under "Appearance" and not under "Misc" in the properties window. I found a book it says to use <Category("Appearance"),Description(" ... ")> before the "Property" keyword, but it doesn't work, I think it was used in .net 1.0 Quote Development & Research Department @ Elven Soft
Administrators PlausiblyDamp Posted September 28, 2004 Administrators Posted September 28, 2004 When you say it doesn't work does it give any errors or just not appear where you expect? Also you will need to import the System.ComponentModel namespace for those to work. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
PROKA Posted September 30, 2004 Author Posted September 30, 2004 Thanks, I didn't know I had to import the System.Componentmodel ! Quote Development & Research Department @ Elven Soft
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.