Compartilhar via


IVsGradient Interface

Enables a VSPackage to paint specified UI elements with the proper gradient.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("FD3F680A-D5C1-437A-8A21-8084310BF037")> _
Public Interface IVsGradient
[InterfaceTypeAttribute()]
[GuidAttribute("FD3F680A-D5C1-437A-8A21-8084310BF037")]
public interface IVsGradient
[InterfaceTypeAttribute()]
[GuidAttribute(L"FD3F680A-D5C1-437A-8A21-8084310BF037")]
public interface class IVsGradient
[<InterfaceTypeAttribute()>]
[<GuidAttribute("FD3F680A-D5C1-437A-8A21-8084310BF037")>]
type IVsGradient =  interface end
public interface IVsGradient

The IVsGradient type exposes the following members.

Methods

  Name Description
Public method DrawGradient Draws a given gradient at a specified location.
Public method GetGradientVector Returns an array of colors used to create a brush for a given gradient.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace