Lightweight Text Rendering
The RadTreeListView
control provides the functionality to use a lightweight rendering mode for the cells' text, which will increase the performance. To enable this functionality, set the EnableLightweightTextRendering
property to True. This alternative rendering mode will skip the creation of TextBlock
elements that are used to display the cells' text. Instead, it will draw it in a separate panel.
[WPF] Enabling the lightweight rendering mode
<telerik:RadTreeListView EnableLightweightTextRendering="True"
GroupRenderMode="Flat"/>
Redraw Actions
The panel that is used for the lightweight rendering mode, will be forced to redraw when the following GridViewCell
element's properties are changed:
FontSize
FontFamily
FontStyle
FontWeight
FontStretch
HorizontalContentAlignment
VerticalContentAlignment
Known Limitations
- Merged cells are not supported with this rendering mode. If the merged cells functionality is enabled, a
NotSupportedException
will be raised. - Frozen columns are not supported with this rendering mode. Set the
CanUserFreezeColumns
property of RadTreeListView to False, in order to use the text rendering mode. Otherwise, aNotSupportedException
will be raised. - The
Nested
option of theGroupRenderMode
property does not support this rendering mode. Set the group render mode toFlat
to use the text rendering mode. Otherwise, aNotSupportedException
will be raised. - The
ShowTooltipOnTrimmedText
property of the columns does not support this rendering mode, as it relies on theTextBlock
element of each the cell. - The
CellTemplate
orCellTemplateSelector
properties of the columns will disable this rendering mode for their cells. - The
ContentTemplate
orContentTemplateSelector
properties of theGridViewCell
element will disable this rendering mode. - The
RightToLeft
option theFlowDirection
property will disable this rendering mode.