Table of Contents

Method SelectionSetColor

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SelectionSetColor(Color?, Color?)

Sets foreground and background colors of the selection. If no text is selected, style of the insertion point is changed.

public void SelectionSetColor(Color? textColor, Color? backColor = null)

Parameters

textColor Color

Foreground color.

backColor Color

Background color.

Remarks

If any of the color parameters is null, it will not be changed.