Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CategoryAttribute Constructor (String^)

 

Initializes a new instance of the CategoryAttribute class using the specified category name.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
CategoryAttribute(
	String^ category
)

Parameters

category
Type: System::String^

The name of the category.

If the name you provide for the category parameter is one of the predefined category names, the name will be automatically localized by the Category property.

If the name you provide is not a predefined category name, and you do not override the GetLocalizedString method to provide a localized name, the category name will not be localized.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft