Condividi tramite


QuickInfoPresenterStyle Class

Defines a set of properties that will be used to style the default QuickInfo presenter.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Language.Intellisense.QuickInfoPresenterStyle

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Dichiarazione
Public Class QuickInfoPresenterStyle
public class QuickInfoPresenterStyle
public ref class QuickInfoPresenterStyle
type QuickInfoPresenterStyle =  class end
public class QuickInfoPresenterStyle

The QuickInfoPresenterStyle type exposes the following members.

Constructors

  Name Description
Public method QuickInfoPresenterStyle Initializes a new instance of QuickInfoPresenterStyle.

Top

Properties

  Name Description
Public property AreGradientsAllowed Determines whether or not gradients should be used in the presentation of a IQuickInfoSession.
Public property BackgroundBrush Gets a Brush that is used to paint the background of the completion presenter.
Public property BorderBrush Gets a Brush that is used to paint the borders in the completion presenter.
Public property QuickInfoAppearanceCategory Gets a string that identifies the appearance category for the ITextViews displayed in the default QuickInfo presenter.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This is a MEF component part, and should be exported with the NameAttribute, OrderAttribute, and ContentTypeAttribute attributes, as with the following example:

[Export(typeof(QuickInfoPresenterStyle))] 
[ContentType("plaintext")] 
[Name("MyQuickInfoPresenterStyle] 
[Order(After="default")] 

All exports of this component part must be ordered after the "default" QuickInfo presenter style.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace