Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Alternative to the component model version of CategoryAttribute. Instead, please use category-specific classes derived from this one like Visual3D.PropertyCategory.BehaviorAttribute, or create a new one, after defining a string constant for the new category name on the PropertyCategoryName class.

Namespace: Visual3D
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class CategoryAttribute : CategoryAttribute, 
	IHasName
Public Class CategoryAttribute _
	Inherits CategoryAttribute _
	Implements IHasName

Members

            
 All Members  Constructors   Fields   Properties  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
CategoryAttribute()()()()
Initializes a new instance of the CategoryAttribute class
CategoryAttribute(String)
Initializes a new instance of the CategoryAttribute class
CategoryAttribute(String, UserLevel)
Initializes a new instance of the CategoryAttribute class
DefaultCategory
DefaultUserLevel
Name
UserLevel

Remarks

Use an existing CategoryAttribute-derived class such as Visual3D.PropertyCategory.BehaviorAttribute instead of using CategoryAttribute directly with an inline string. When needing to use a property category string, please use the constants defined on the PropertyCategoryName static class. If neccisary, you can create a new CategoryAttribute-derived class and add a new string constant to the PropertyCategoryName class.

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    System.ComponentModel..::..CategoryAttribute
      Visual3D..::..CategoryAttribute
        Visual3D..::..Light..::..ProjectedSpotLightCategoryAttribute
        Visual3D..::..PropertyCategory..::..CategoryAttribute
        Visual3D.SceneObjects..::..Sprite..::..SpriteOrientationAttribute

See Also