Skip to content

TextBaseMarkupExtensions.SelectionBackground<T> method

Sets the color painted behind the selected text; the default style dims it while the control does not have focus.

public static T SelectionBackground<T>(this T target, Color value)
where T : TextBase
parameter description
T Receiver type.
target Target TextBase.
value Value assigned to SelectionBackground.

The same element for chaining.

Sets: TextBase.SelectionBackground