閱讀英文

共用方式為


SignatureHelpPresenterStyle Class

Represents a set of properties used to define the style of the default signature help presenter.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Language.Intellisense.SignatureHelpPresenterStyle

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

Syntax

'宣告
Public Class SignatureHelpPresenterStyle
public class SignatureHelpPresenterStyle
public ref class SignatureHelpPresenterStyle
type SignatureHelpPresenterStyle =  class end
public class SignatureHelpPresenterStyle

The SignatureHelpPresenterStyle type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property AreGradientsAllowed Determines whether or not gradients should be used in the presentation of a ISignatureHelpSession.
Public property BackgroundBrush Gets a Brush used to paint the background of the signature help presenter.
Public property BorderBrush Gets a Brush used to paint the borders in the signature help presenter.
Public property CurrentParameterDocumentationTextRunProperties Gets a TextRunProperties used to format the text of the current parameter documentation.
Public property CurrentParameterNameTextRunProperties Gets a TextRunProperties used to format the text of the current parameter name.
Public property ForegroundBrush Gets a Brush used to paint the foreground of the signature help presenter.
Public property SignatureAppearanceCategory Gets the identifier of the appearance category for the ITextView objects displayed in the default signature help presenter.
Public property SignatureDocumentationTextRunProperties Gets a TextRunProperties that will be used to format the text of the signature documentation.
Public property UpDownSignatureTextRunProperties Gets a TextRunProperties that will be used to format the text of up/down signature arrows.

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 ContentTypeAttribute, NameAttribute, and OrderAttribute attributes.

All exports of this component part should at least be ordered after the "default" signature help presenter style, as in [Order(After="default")]. They may also be ordered before or after other components of this type.

Examples

The following is an example of the set of exports:

[Export(typeof(SignatureHelpPresenterStyle))] 
[ContentType("text")] 
[Name("TestSignatureHelpPresenterStyle")] 
[Order(After="default")] 

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