Table of Contents

Property Attribute

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

Attribute

Gets the explicit Attribute for this segment, or null if the attribute should be resolved from StyleRole.

public Attribute? Attribute { get; }

Property Value

Attribute?

Remarks

When set (e.g., by a syntax highlighter), this attribute is used directly for rendering, bypassing the normal MarkdownStyleRole-based resolution.