Skip to content

TextBaseMarkupExtensions.SelectionForeground<T> 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 T SelectionForeground<T>(this T target, Color? value)
where T : TextBase
parameter description
T Receiver type.
target Target TextBase.
value Value assigned to SelectionForeground.

The same element for chaining.

Sets: TextBase.SelectionForeground