Partager via


IVsFontAndColorDefaults Members

Include Protected Members
Include Inherited Members

Allows a VSPackage to support the IDE's Fonts and Colors properties page by defining default fonts and colors for a window or UI component.

The IVsFontAndColorDefaults type exposes the following members.

Methods

  Name Description
Public method GetBaseCategory IVsFontAndColorDefaults::GetBaseCategory allows a VSPackage that manages fonts and colors to change the behavior of the Use Defaults button of the Fonts and Colors properties page.
Public method GetCategoryName Returns the display name of a Display Items category.
Public method GetFlags Returns a combination of __FONTCOLORFLAGS values. The member of the __FONTCOLORFLAGS enumeration define how the Fonts and Colors properties page in the Options dialog box implements font and color changes.
Public method GetFont Returns a FontInfo structure containing information about a Category's default font to the Visual Studio environment.
Public method GetItem Returns an AllColorableItemInfo structure containing font and color information for specific member of the Display Items list for a given Category as indicated by the iItem parameter.
Public method GetItemByName Returns an AllColorableItemInfo structure containing font and color information for one of the Display Items listed in the Fonts and Colors properties page.
Public method GetItemCount Returns the number of colorable Display items in the Options dialog box. The Display items are provided by the selected option in the Show Settings for: drop-down list.
Public method GetPriority Returns the display priority of the items in the Show settings for: drop-down list of the Fonts and Colors property page.

Top

See Also

Reference

IVsFontAndColorDefaults Interface

Microsoft.VisualStudio.Shell.Interop Namespace