Compartilhar via


SpaceNegotiatingAdornmentTag.Affinity Property

Definition

Gets the PositionAffinity of the space-negotiating adornment.

public:
 property Microsoft::VisualStudio::Text::PositionAffinity Affinity { Microsoft::VisualStudio::Text::PositionAffinity get(); };
public:
 property Microsoft::VisualStudio::Text::PositionAffinity Affinity { Microsoft::VisualStudio::Text::PositionAffinity get(); };
public Microsoft.VisualStudio.Text.PositionAffinity Affinity { get; }
member this.Affinity : Microsoft.VisualStudio.Text.PositionAffinity
Public ReadOnly Property Affinity As PositionAffinity

Property Value

The PositionAffinity of the space-negotiating adornment.

Remarks

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

Applies to