Hello Anthony,
At the moment, RadTreeView does not support custom templates for editing mode. You can, however, change it if you change the whole RadTreeViewItem control template. There is a commented line that shows which is the element that shows whether treeview is in edit mode.
//RadTreeViewItem template.
<!-- Edit element --> |
<Border Visibility="Collapsed" Grid.Column="4" HorizontalAlignment="Left" VerticalAlignment="Center" Background="#0C000000" CornerRadius="3,3,3,3" Width="Auto" BorderThickness="1" x:Name="EditElementContainer" BorderBrush="#7FFFFFFF"> |
<Border Height="Auto" CornerRadius="2,2,2,2" Width="Auto" BorderThickness="1" BorderBrush="#3E000000"> |
<TextBox x:Name="EditElement" BorderThickness="0"/> |
</Border> |
</Border> |
Please, keep in mind that the name of the elements (x:Name="...") should be the same and the element with x:Name="EditElement " should be TextBox.
This is definitely something that we should improve in the next versions.
Thanks for your feedback. We updated your points as per our
EAP Program.
Best wishes,
Hristo
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.