FontsAndColorsCategory Class
Represents a fonts and colors category.
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
| Name | Description | |
|---|---|---|
![]() | FontsAndColorsCategory(Guid, Guid, Guid) | Initializes a new instance of FontsAndColorsCategory for the specified language service, font category, and color category. |
| Name | Description | |
|---|---|---|
![]() | AppearanceCategory | Gets the textual key that is used in the IEditorFormatMap and IClassificationFormatMap groupings of the editor. |
![]() | ColorCategory | Gets or sets the color category. |
![]() | FontCategory | Gets or sets the font category. |
![]() | LanguageService | Gets the GUID of the language service. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether two instances of this class are the same.(Overrides Object.Equals(Object).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Serves as a hash function for this type.(Overrides Object.GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetColorCategory(Guid) | Sets GUID of the color category. |
![]() | SetFontCategory(Guid) | Sets the GUID of the font category. |
![]() | SetLanguageService(Guid) | Sets the GUID of the language service. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(FontsAndColorsCategory, FontsAndColorsCategory) | Determines whether two FontsAndColorsCategory objects are the same. |
![]() ![]() | Inequality(FontsAndColorsCategory, FontsAndColorsCategory) | Determines whether two FontsAndColorsCategory objects are different. |
Font and color categories are a way to group different editors into groups that share the same colors. Examples of this in Visual Studio are "Text Editor", "Output Window", etc. These show up in the Tools -> Options -> Fonts & Colors dialog in the "Show settings for" drop down. This is an immutable class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




