SpaceNegotiatingAdornmentTag Class

Represents a tag for a space-negotiating adornment. The tag is used to provide space for positioning the adornment in a view.

System.Object
  Microsoft.VisualStudio.Text.Tagging.SpaceNegotiatingAdornmentTag

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public class SpaceNegotiatingAdornmentTag : ITag

The SpaceNegotiatingAdornmentTag type exposes the following members.

  NameDescription
Public methodSpaceNegotiatingAdornmentTagInitializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.
Top

  NameDescription
Public propertyAffinityGets the PositionAffinity of the space-negotiating adornment.
Public propertyBaselineGets the baseline of the space-negotiating adornment.
Public propertyBottomSpaceGets the amount of space needed between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine.
Public propertyIdentityTagGets a unique object associated with the space-negotiating adornment, which is used by GetAdornmentBounds.
Public propertyProviderTagGets a unique object that identifies the provider of the adornment.
Public propertyTextHeightGets the height of the text portion of the space-negotiating adornment.
Public propertyTopSpaceGets the amount of space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine.
Public propertyWidthGets the width of the adornment.
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The units used in properties like Width and TopSpace are in pixels.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft