FontsAndColorsCategory Class

 

Represents a fonts and colors category.

Namespace:   Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

System.Object
  Microsoft.VisualStudio.Editor.FontsAndColorsCategory

public class FontsAndColorsCategory

NameDescription
System_CAPS_pubmethodFontsAndColorsCategory(Guid, Guid, Guid)

Initializes a new instance of FontsAndColorsCategory for the specified language service, font category, and color category.

NameDescription
System_CAPS_pubpropertyAppearanceCategory

Gets the textual key that is used in the IEditorFormatMap and IClassificationFormatMap groupings of the editor.

System_CAPS_pubpropertyColorCategory

Gets or sets the color category.

System_CAPS_pubpropertyFontCategory

Gets or sets the font category.

System_CAPS_pubpropertyLanguageService

Gets the GUID of the language service.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two instances of this class are the same.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for this type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetColorCategory(Guid)

Sets GUID of the color category.

System_CAPS_pubmethodSetFontCategory(Guid)

Sets the GUID of the font category.

System_CAPS_pubmethodSetLanguageService(Guid)

Sets the GUID of the language service.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(FontsAndColorsCategory, FontsAndColorsCategory)

Determines whether two FontsAndColorsCategory objects are the same.

System_CAPS_puboperatorSystem_CAPS_staticInequality(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.

Return to top
Show: