RichTextEditor

Syntax

public class RichTextEditor : RichTextBox,  INotifyPropertyChanged

Constructor

RichTextEditor

Properties

FontColourSelectedHexString

Hex string representing the selected font colour in the format #AARRGGBB. If no text is selected, then it applies the formatting to the next text typed.

FontFamilySelected

The FontFamily of the selected text. If no text is selected, then it applies the formatting to the next text typed.

FontSizeSelected

The fontsize of the selected text. If no text is selected, then it applies the formatting to the next text typed.

GetsFocusAfterFormattingChange

Gets or sets a value that indicates whether focus is set to the RichTextEditor after formatting is changed. True by default. If set, the focus will return to the control after any of the IsBoldSelected, IsItalicSelected, IsUnderlinedSelected, FontFamilySelected, FontSizeSelected, FontColourSelectedHexString properties are changed.

IsBoldSelected

Gets or sets a value that indicates whether selected text is bold or normal. If no text is selected, then it applies the formatting to the next text typed.

IsItalicSelected

Gets or sets a value that indicates whether selected text is italic or normal. If no text is selected, then it applies the formatting to the next text typed.

IsUnderlinedSelected

Gets or sets a value that indicates whether selected text is underlined or not. If no text is selected, then it applies the formatting to the next text typed.

Last edited Mar 22, 2014 at 4:59 PM by peterdongan, version 5