Share via


IVsFontAndColorGroup Interface

Definition

Provides a mechanism by which a VSPackage providing font and color support can specify a Display Item group - a super-category that represents the union of two or more categories.

public interface class IVsFontAndColorGroup
public interface class IVsFontAndColorGroup
__interface IVsFontAndColorGroup
[System.Runtime.InteropServices.Guid("1D42A4C9-57DE-4D3E-8010-485ADFC1E95B")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFontAndColorGroup
[System.Runtime.InteropServices.Guid("1D42A4C9-57DE-4D3E-8010-485ADFC1E95B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFontAndColorGroup
[<System.Runtime.InteropServices.Guid("1D42A4C9-57DE-4D3E-8010-485ADFC1E95B")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFontAndColorGroup = interface
[<System.Runtime.InteropServices.Guid("1D42A4C9-57DE-4D3E-8010-485ADFC1E95B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFontAndColorGroup = interface
Public Interface IVsFontAndColorGroup
Attributes

Remarks

The super-category is a union, not an intersection of its sub-categories. The Fonts and Colors page will automatically handle the merging of the sub-categories and the distribution of altered attributes.

Notes to Implementers

Implement the IVSFontAndColorGroup interface when you need an entry in the Fonts And Color property page consisting of the union of two or more categories

The IVsFontAndColorGroup interface is used by the Visual Studio environment and a VSPackage instead of the IVsFontAndColorDefaults interface.

Methods

GetCategory(Int32, Guid)

Returns the GUID of the one of the categories within a group as identified by a group index.

GetCount(Int32)

Returns the number of categories represented by the group.

GetGroupName(String)

Returns a category group's localized name.

GetPriority(UInt16)

Returns a group's display priority, which determines its position in the Show settings for: drop-down box of the Fonts and Colors property page.

Applies to