There are several different possible approaches to this task. You can create a custom column
, overriding CreateCellElement. You can also use the DataTemplate support, by using CellTemplate
, or CellTemplateSelector
. If the scenario requires that all TextBlocks should be replaced, I would recommend the custom column approach.
As a side note, I would like to mention that RichTextBox is a very complex control and using it in every cell of RadGridView will significantly affect performance. Can you please share what is your ultimate goal, so that we can discuss an alternative approach if it is possible.
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.