SpaceNegotiatingAdornmentTag Class

 

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

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

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

public class SpaceNegotiatingAdornmentTag : ITag

NameDescription
System_CAPS_pubmethodSpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object)

Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.

NameDescription
System_CAPS_pubpropertyAffinity

Gets the PositionAffinity of the space-negotiating adornment.

System_CAPS_pubpropertyBaseline

Gets the baseline of the space-negotiating adornment.

System_CAPS_pubpropertyBottomSpace

Gets the amount of space needed between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine.

System_CAPS_pubpropertyIdentityTag

Gets a unique object associated with the space-negotiating adornment, which is used by GetAdornmentBounds.

System_CAPS_pubpropertyProviderTag

Gets a unique object that identifies the provider of the adornment.

System_CAPS_pubpropertyTextHeight

Gets the height of the text portion of the space-negotiating adornment.

System_CAPS_pubpropertyTopSpace

Gets the amount of space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine.

System_CAPS_pubpropertyWidth

Gets the width of the adornment.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Return to top
Show: