Skip to content

SyntaxViewerMarkupExtensions.SelectionForeground method

Sets the color the selected glyphs are painted in; null keeps their own colors, so a colorized document stays readable through a selection.

public static SyntaxViewer SelectionForeground(this SyntaxViewer target, Color? value)
parameter description
target Target SyntaxViewer.
value Value assigned to SelectionForeground.

The same element for chaining.

Sets: SyntaxViewer.SelectionForeground