IAdornmentElement::Affinity Property

 

Gets the PositionAffinity of the adornment.

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

property PositionAffinity Affinity {
	PositionAffinity get();
}

Property Value

Type: Microsoft.VisualStudio.Text::PositionAffinity

The PositionAffinity of the adornment.

This is used only when the length of the adornment element span in the source buffer is zero.

Return to top
Show: