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