This topic has not yet been rated - Rate this topic

SpaceNegotiatingAdornmentTag.Affinity Property

Gets the PositionAffinity of the space-negotiating adornment.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
public PositionAffinity Affinity { get; private set; }

Property Value

Type: Microsoft.VisualStudio.Text.PositionAffinity
The PositionAffinity of the space-negotiating adornment.

This property is not used for adornments that replace text. An adornment does not replace text if its tag has a zero-length span on the view's text buffer.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.