Compartilhar via


FontsAndColorsCategory.AppearanceCategory Property

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

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

Syntax

'Declaration
Public ReadOnly Property AppearanceCategory As String
public string AppearanceCategory { get; }
public:
property String^ AppearanceCategory {
    String^ get ();
}
member AppearanceCategory : string with get
function get AppearanceCategory () : String

Property Value

Type: String
The name of the appearance category.

Remarks

The return value is a name corresponding to the GUID of the FontCategory. The values are as follows:

guidTextEditorFontCategory: "text"

guidPrinterFontCategory: "printer"

guidToolTipFontCategory: "tooltip"

guidStatementCompletionFontCategory: "completion"

guidImmediateWindowFontCategory: "immediate"

guidCommandWindowFontCategory: "command"

guidOutputWindowFontCategory: "output"

guidFindResultsFontCategory: "find results"

.NET Framework Security

See Also

Reference

FontsAndColorsCategory Class

Microsoft.VisualStudio.Editor Namespace