New to Telerik UI for WPFStart a free 30-day trial

Getting All RadDocument child Elements of the Same Type in RadRichTextBox

Updated on Mar 17, 2026

Environment

Product UI for WPF RichTextBox
Version Current

Description

How to enumerate all document elements of the same type from a RadRichTextBox' RadDocument.

Solution

To get all elements use the EnumareteChildrenOfType method of RadDocument.

C#
var allFloatingImages =  this.radDocument.EnumerateChildrenOfType<FloatingImageBlock>();
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support