I have read a bit about Design-Time Attributes for Components. There I found an attribute called CategoryAttribute. On that page it says that
The CategoryAttribute class defines the following common categories:
And then lists up a number of common categories. One of them are for example Appearance. I thought, brilliant! Then I can use [Category.Appearance]
instead of [Category("Appearance")]
! But apparently I couldn't? Tried to write it, but Intellisense wouldn't pick it up and it wouldn't compile. Am I missing something here? Was it maybe not this those properties were for? If not, what are they for? If they are, how do I use them?
And yes, I do have the correct using
to have access to the CategoryAttribute
, cause [Category("Whatever")]
do work. I'm just wondering how I use those defined common categories.