IntraTextAdornmentTag.Affinity Property

Definition

Gets the PositionAffinity of the space-negotiating adornment.

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

Property Value

The PositionAffinity.

Remarks

Should be non-null for tags with zero length spans (at the edit buffer level of the view's buffer graph) and only for those tags.

Applies to