SpaceNegotiatingAdornmentTag Class

Definition

Represents a tag for a space-negotiating adornment. The tag is used to provide space for positioning the adornment in a view.

public ref class SpaceNegotiatingAdornmentTag : Microsoft::VisualStudio::Text::Tagging::ITag
[Windows::Foundation::Metadata::WebHostHidden]
class SpaceNegotiatingAdornmentTag : Microsoft::VisualStudio::Text::Tagging::ITag
public class SpaceNegotiatingAdornmentTag : Microsoft.VisualStudio.Text.Tagging.ITag
type SpaceNegotiatingAdornmentTag = class
    interface ITag
Public Class SpaceNegotiatingAdornmentTag
Implements ITag
Inheritance
SpaceNegotiatingAdornmentTag
Implements

Remarks

The units used in properties like Width and TopSpace are those used in the presentation technology.

Constructors

SpaceNegotiatingAdornmentTag(Double, Double, Double, Double, Double, PositionAffinity, Object, Object)

Initializes a new instance of a SpaceNegotiatingAdornmentTag with the specified properties.

Properties

Affinity

Gets the PositionAffinity of the space-negotiating adornment.

Baseline

Gets the baseline of the space-negotiating adornment.

BottomSpace

Gets the amount of space needed between the bottom of the text in the ITextViewLine and the botton of the ITextViewLine.

IdentityTag

Gets a unique object associated with the space-negotiating adornment, which is used by ITextViewLine.GetAdornmentBounds.

ProviderTag

Gets a unique object that identifies the provider of the adornment.

TextHeight

Gets the height of the text portion of the space-negotiating adornment.

TopSpace

Gets the amount of space needed between the top of the text in the ITextViewLine and the top of the ITextViewLine.

Width

Gets the width of the adornment.

Applies to