FontAndColorProviderBase Class

Definition

Base class for font and color providers

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
Inheritance
FontAndColorProviderBase
Derived
Implements

Constructors

FontAndColorProviderBase()

Initializes a new instance of the FontAndColorProviderBase class.

Properties

CategoryName

Gets or sets the category name.

Font

Gets the font style to use.

FontColorDefaults

Gets the font and color defaults.

FontColorFlags

Gets the font and color provider base. Allows derived classes to customize it.

FontDefault

Gets or sets the default font.

Guid

Gets or sets the identity Guid.

ItemsChanged

Gets a hashtable of items changed.

Reset

Gets a value that indicates whether the font and color is reset to its initial value.

Explicit Interface Implementations

IVsFontAndColorDefaults.GetBaseCategory(Guid)

Retrieves the base category.

IVsFontAndColorDefaults.GetCategoryName(String)

Indicates the category name to retrieve.

IVsFontAndColorDefaults.GetFlags(UInt32)

Retrieves the attributes of the current object.

IVsFontAndColorDefaults.GetFont(FontInfo[])

Gets the font used by the editor.

IVsFontAndColorDefaults.GetItem(Int32, AllColorableItemInfo[])

Retrieves an integer value that identifies an item.

IVsFontAndColorDefaults.GetItemByName(String, AllColorableItemInfo[])

Indicates an item from the itemName parameter.

IVsFontAndColorDefaults.GetItemCount(Int32)

Retrieves the item count.

IVsFontAndColorDefaults.GetPriority(UInt16)

Retrieves the font and color priority.

IVsFontAndColorEvents.OnApply()

Applies font and color settings.

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

Called by the Visual Studio environment when the fonts of one Categories of the items listed in the Display Items drop-down list is modified.

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

Applies font and color changes.

IVsFontAndColorEvents.OnReset(Guid)

Indicates the changes to clear to an item identified by the guid parameter.

IVsFontAndColorEvents.OnResetToBaseCategory(Guid)

Resets the setting to base. Not implemented.

Applies to