CompletionPresenterStyle Class
Defines a set of properties that will be used to style the default completion presenter.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Language.Intellisense.CompletionPresenterStyle
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Public Class CompletionPresenterStyle
public class CompletionPresenterStyle
public ref class CompletionPresenterStyle
type CompletionPresenterStyle = class end
public class CompletionPresenterStyle
The CompletionPresenterStyle type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompletionPresenterStyle | Initializes a new instance of CompletionPresenterStyle. |
Top
Properties
Name | Description | |
---|---|---|
AreGradientsAllowed | Determines whether or not ICompletionSession should use gradients. | |
BackgroundBrush | Gets a brush that is used to paint the background of the completion presenter. | |
BitmapScalingMode | Gets the desired scaling mode for images. | |
BorderBrush | Gets a brush that is used to paint the borders in the completion presenter. | |
CompletionTextRunProperties | Gets the text run properties that are used to format the text of the individual completion items. | |
SelectionBackgroundBrush | Gets a brush that is used to paint the background of the selected completion item. | |
SelectionBorderBrush | Gets a brush that is used to paint the border rectangle around the selected completion item. | |
SelectionTextRunProperties | Gets text run properties that are used to paint the text of the selected completion item. | |
TabItemHotBackgroundBrush | Gets a brush that is used to paint the background of a completion tab item when the mouse is hovering over it. | |
TabItemHotBorderBrush | Gets a brush that is used to paint the border of a completion tab item when the mouse is hovering over it. | |
TabItemHotTextRunProperties | Gets the text run properties that are used to format the text of a completion tab item when the mouse is hovering over it. | |
TabPanelBackgroundBrush | Gets a brush that is used to paint the background of the completion tab panel. | |
TooltipBackgroundBrush | Gets a brush that is used to paint the background of the completion tooltip. | |
TooltipBorderBrush | Gets a brush that is used to paint the border around the completion tooltip. | |
TooltipTextRunProperties | Gets text run properties that are used to format the text in the completion tooltip. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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 following attributes:
[Export(typeof(CompletionPresenterStyle))]
[ContentType(...)]
[Name(...)]
[Order(...)]
All exports of this component part should be ordered after the "default" completion presenter style. At a minimum, this means adding [Order(After="default")] to the export metadata.
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.