FontAndColorProviderBase Klasse

Definition

Basisklasse für Schriftart- und Farbanbieter.

public ref class FontAndColorProviderBase abstract : Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorDefaults, Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorEvents
public abstract class FontAndColorProviderBase : Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorDefaults, Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents
type FontAndColorProviderBase = class
    interface IVsFontAndColorDefaults
    interface IVsFontAndColorEvents
Public MustInherit Class FontAndColorProviderBase
Implements IVsFontAndColorDefaults, IVsFontAndColorEvents
Vererbung
FontAndColorProviderBase
Abgeleitet
Implementiert

Konstruktoren

FontAndColorProviderBase()

Initialisiert eine neue Instanz der FontAndColorProviderBase-Klasse.

Eigenschaften

CategoryName

Ruft den Kategorienamen ab oder legt sie fest.

Font

Ruft den zu verwendenden Schriftschnitt ab.

FontColorDefaults

Ruft die Schriftart und die Farbstandardwerte ab.

FontColorFlags

Ruft die Schriftart- und Farbanbieterbasis ab. Erlaubt abgeleiteten Klassen, die Basis zu ändern.

FontDefault

Ruft die Standardschriftart ab oder legt sie fest.

Guid

Ruft die Guid der Identität ab oder legt sie fest.

ItemsChanged

Ruft eine Hashtabelle geänderter Elemente ab.

Reset

Ruft einen Wert ab, der angibt, ob die Schriftart und Farbe auf den Anfangswert zurückgesetzt wird.

Explizite Schnittstellenimplementierungen

IVsFontAndColorDefaults.GetBaseCategory(Guid)

Ruft die Basiskategorie ab.

IVsFontAndColorDefaults.GetCategoryName(String)

Gibt den abzurufenden Kategorienamen an.

IVsFontAndColorDefaults.GetFlags(UInt32)

Ruft die Attribute des aktuellen Objekts ab.

IVsFontAndColorDefaults.GetFont(FontInfo[])

Ruft die vom Editor verwendete Schriftart ab.

IVsFontAndColorDefaults.GetItem(Int32, AllColorableItemInfo[])

Ruft einen ganzzahligen Wert ab, der ein Element identifiziert.

IVsFontAndColorDefaults.GetItemByName(String, AllColorableItemInfo[])

Gibt ein Element aus dem itemName Parameter an.

IVsFontAndColorDefaults.GetItemCount(Int32)

Ruft die Elementanzahl ab.

IVsFontAndColorDefaults.GetPriority(UInt16)

Ruft die Schriftart und die Farbpriorität ab.

IVsFontAndColorEvents.OnApply()

Wendet Schriftart- und Farbeinstellungen an.

IVsFontAndColorEvents.OnFontChanged(Guid, FontInfo[], LOGFONTW[], UInt32)

Wird von der Visual Studio-Umgebung aufgerufen, wenn die Schriftarten einer Kategorie der In der Dropdownliste "Anzeigeelemente" aufgeführten Elemente geändert werden.

IVsFontAndColorEvents.OnItemChanged(Guid, String, Int32, ColorableItemInfo[], UInt32, UInt32)

Wendet Schriftart- und Farbänderungen an.

IVsFontAndColorEvents.OnReset(Guid)

Gibt die Änderungen an, um ein durch den guid Parameter identifiziertes Element zu löschen.

IVsFontAndColorEvents.OnResetToBaseCategory(Guid)

Setzt die Einstellung auf Basis zurück. Nicht implementiert.

Gilt für: