Edit this page

Events

This topic covers the specific events exposed by the RadRichTextBox control.

The RadRichTextBox control raises the following specific events:

  • CurrentEditingStyleChanged - occurs when the current editing style changes. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • An EventArgs object

  • CurrentParagraphStyleChanged - occurs when the position of the caret goes to another paragraph. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • An EventArgs object.

  • CurrentSpanStyleChanged - occurs when the position of the caret goes to another word. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • An EventArgs object.

  • CurrentVisiblePageChanged - occurs when the current page has changed. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • An EventArgs object.

  • DocumentArranged - occurs when the current document has been arranged. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • An EventArgs object.

  • DocumentContentChanged - occurs when the content of the current document has changed. The event handler receives two arguments:

    • The sender argument contains the RadDocument. This argument is of type object, but can be cast to the RadDocument type.

    • An EventArgs object.

  • HyperlinkClicked - occurs when the current page has changed. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • A HyperlinkClickedEventArgs object. This argument allows you to access the URL and the target of the hyperlink.

  • SelectedLayoutBoxChanged - occurs when the current layout box gets changed. The event handler receives two arguments:

    • The sender argument contains the RadRichTextBox. This argument is of type object, but can be cast to the RadRichTextBox type.

    • A SelectedLayoutBoxChangedEventArgs object.