다음을 통해 공유


IVsFontAndColorDefaults Interface

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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
<GuidAttribute("5FA2AC9A-3BEF-423A-8B5E-6645811BFB6B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFontAndColorDefaults
‘사용 방법
Dim instance As IVsFontAndColorDefaults
[GuidAttribute("5FA2AC9A-3BEF-423A-8B5E-6645811BFB6B")]
[InterfaceTypeAttribute()]
public interface IVsFontAndColorDefaults
[GuidAttribute(L"5FA2AC9A-3BEF-423A-8B5E-6645811BFB6B")]
[InterfaceTypeAttribute()]
public interface class IVsFontAndColorDefaults
[<GuidAttribute("5FA2AC9A-3BEF-423A-8B5E-6645811BFB6B")>]
[<InterfaceTypeAttribute()>]
type IVsFontAndColorDefaults =  interface end
public interface IVsFontAndColorDefaults

Remarks

Notes to Implementers

Implement for any VSPackage with window or UI component that needs to communicate default font and color attributes to the Fonts and Colors page in the Options dialog box, which can be launched from the Tools menu. The VSPackage creates or modifies a Category in the Show settings for: drop-down box in the Fonts and Colors page.

See Also

Reference

IVsFontAndColorDefaults Members

Microsoft.VisualStudio.Shell.Interop Namespace