<ig:XamRichTextEditor x:Name="xamRichTextEditor1" CaretColor="Green">
</ig:XamRichTextEditor>
This topic explains how to change the xamRichTextEditor ™ control’s caret color.
The following topics are prerequisites to understanding this topic:
This topic contains the following sections:
The following table briefly explains the configurable aspects of the xamRichTextEditor control and maps them to their specific properties.
Use the xamRichTextEditor control’s CaretColor
property to specify the color to display the caret.
The following table maps the desired configuration to its specific property settings.
The code snippet below demonstrates how to set the xamRichTextEditor’s caret in green color:
In XAML:
<ig:XamRichTextEditor x:Name="xamRichTextEditor1" CaretColor="Green">
</ig:XamRichTextEditor>
In C#:
this.xamRichTextEditor1.CaretColor = new ColorInfo(Colors.Green);
In Visual Basic:
Me.xamRichTextEditor1.CaretColor = New ColorInfo(Colors.Green)
The following topic provides additional information related to this topic.