SpaceNegotiatingAdornmentTag Class
Represents a tag for a space-negotiating adornment. The tag is used to provide space for positioning the adornment in a view.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Text.Tagging.SpaceNegotiatingAdornmentTag
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Dichiarazione
Public Class SpaceNegotiatingAdornmentTag _
Implements ITag
public class SpaceNegotiatingAdornmentTag : ITag
public ref class SpaceNegotiatingAdornmentTag : ITag
type SpaceNegotiatingAdornmentTag =
class
interface ITag
end
public class SpaceNegotiatingAdornmentTag implements ITag
The SpaceNegotiatingAdornmentTag type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SpaceNegotiatingAdornmentTag | Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties. |
Top
Properties
Name | Description | |
---|---|---|
Affinity | Gets the PositionAffinity of the space-negotiating adornment. | |
Baseline | Gets the baseline of the space-negotiating adornment. | |
BottomSpace | Gets the amount of space needed between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine. | |
IdentityTag | Gets a unique object associated with the space-negotiating adornment, which is used by GetAdornmentBounds. | |
ProviderTag | Gets a unique object that identifies the provider of the adornment. | |
TextHeight | Gets the height of the text portion of the space-negotiating adornment. | |
TopSpace | Gets the amount of space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine. | |
Width | Gets the width of the adornment. |
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 a hash function for a particular type. (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
The units used in properties like Width and TopSpace are in pixels.
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.