共用方式為


StructureTag.GuideLineSpan Property

Definition

Gets the vertical span within which the block structure adornment will be drawn.

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

Property Value

Implements

Remarks

For a block to have an adornment, it must not be of type Nonstructural, and the implementer must also provide the GuideLineHorizontalAnchor. The adornment is drawn from the top of the line containing the start of the span to the bottom of the line containing the bottom of the span. If null, the GuideLineSpan is inferred from the OutliningSpan and the HeaderSpan.

Applies to