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:
property PositionAffinity Affinity {
	[CompilerGeneratedAttribute]
	PositionAffinity get();
	[CompilerGeneratedAttribute]
	private: void set(PositionAffinity value);
}

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.

Return to top
Show: