Method SelectionSetColor
SelectionSetColor(IWxTextBoxHandler, Color?, Color?)
Sets foreground and background colors of the selection. If no text is selected, style of the insertion point is changed.
public static bool SelectionSetColor(this IWxTextBoxHandler handler, Color? textColor, Color? backColor = null)
Parameters
handlerIWxTextBoxHandlerThe IWxTextBoxHandler instance.
textColorColorForeground color.
backColorColorBackground color.
Returns
Remarks
If any of the color parameters is null, it will not be changed.