NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBox.SelectionColor

The color of the currently selected text in the RichTextBox control. Returns null if the selection has more than one color.

[Visual Basic]
Public Property SelectionColor As Color
[C#]
public Color SelectionColor {get; set;}
[C++]
public: __property Color get_SelectionColor();
public: __property void set_SelectionColor(Color);
[JScript]
public function get SelectionColor() : Color;
public function set SelectionColor(Color);

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace