18 references to Category
System.ComponentModel.Primitives (5)
System\ComponentModel\CategoryAttribute.cs (5)
195obj is CategoryAttribute other && other.Category == Category; 197public override int GetHashCode() => Category?.GetHashCode() ?? 0; 228public override bool IsDefaultAttribute() => Category == Default.Category;
System.ComponentModel.TypeConverter (1)
System\ComponentModel\MemberDescriptor.cs (1)
168public virtual string Category => _category ??= ((CategoryAttribute)Attributes[typeof(CategoryAttribute)]!).Category;
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
719public virtual string PropertyCategory => CategoryAttribute.Default.Category;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionList.cs (1)
93category = catAttr.Category;
System.Windows.Forms.Tests (9)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (9)
26Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 42Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 58Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 74Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 90Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 504Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 572Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 789Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category); 854Assert.Equal("Misc", Assert.IsType<CategoryAttribute>(property.Attributes[typeof(CategoryAttribute)]).Category);
System.Windows.Forms.TestUtilities (1)
PropertyGridInternal\SubPropertyGrid.cs (1)
33.GetCustomAttribute<CategoryAttribute>()!.Category;