Mohammadios
Mohammadios

Reputation: 57

Different colors in C# XML documentation comments

I'm trying to have different colors of text in the XML doc comment like how the word true, false and Window are in blue and green colors in the picture below.

Colored XML documentation comments

I tried decompiling the code that had these but the xml doc was different and there's no mention of this kind of coloring in Microsoft documentations as well.

Upvotes: 3

Views: 4467

Answers (1)

Noah Tomkins
Noah Tomkins

Reputation: 71

To get the blue color for true use this syntax inline: <see langword="true"/>

Upvotes: 6

Related Questions