FontAndColorProviderBase 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
字体和颜色提供者的基类
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
- 继承
-
FontAndColorProviderBase
- 派生
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| FontAndColorProviderBase() |
初始化 FontAndColorProviderBase 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| CategoryName |
获取或设定类别名称。 |
| Font |
能获得可用的字体样式。 |
| FontColorDefaults |
它能获得字体和颜色的默认值。 |
| FontColorFlags |
获取字体和颜色提供者的基础。 允许派生类自定义它。 |
| FontDefault |
获取或设置默认字体。 |
| Guid |
得到或设定恒等式 Guid。 |
| ItemsChanged |
会生成一个更改项目的哈希表。 |
| Reset |
获得一个值,表示字体和颜色是否被重置为初始值。 |
显式接口实现
| 名称 | 说明 |
|---|---|
| IVsFontAndColorDefaults.GetBaseCategory(Guid) |
检索基础类别。 |
| IVsFontAndColorDefaults.GetCategoryName(String) |
表示要检索的类别名称。 |
| IVsFontAndColorDefaults.GetFlags(UInt32) |
检索当前对象的属性。 |
| IVsFontAndColorDefaults.GetFont(FontInfo[]) |
获得编辑器使用的字体。 |
| IVsFontAndColorDefaults.GetItem(Int32, AllColorableItemInfo[]) |
检索一个整数值,用于识别一个项目。 |
| IVsFontAndColorDefaults.GetItemByName(String, AllColorableItemInfo[]) |
表示参数中的 |
| IVsFontAndColorDefaults.GetItemCount(Int32) |
检索物品计数。 |
| IVsFontAndColorDefaults.GetPriority(UInt16) |
检索字体和颜色优先级。 |
| IVsFontAndColorEvents.OnApply() |
应用字体和颜色设置。 |
| IVsFontAndColorEvents.OnFontChanged(Guid, FontInfo[], LOGFONTW[], UInt32) |
当Visual Studio环境中列表中列出的物品类别字体被修改时调用。 |
| IVsFontAndColorEvents.OnItemChanged(Guid, String, Int32, ColorableItemInfo[], UInt32, UInt32) |
应用字体和颜色的变化。 |
| IVsFontAndColorEvents.OnReset(Guid) |
表示需要清除的更改,以参数 |
| IVsFontAndColorEvents.OnResetToBaseCategory(Guid) |
重置设置为基础。 未实现。 |