This question is locked. New answers and comments are not allowed.
I have been trying to figure out how to create a more customzed HierarchicalDataTemplate.
I am using the following template:
I am using the following template:
So, I was hoping to have a delete icon that maintained a right aligned position within a TreeView.<telerik:HierarchicalDataTemplatex:Key="TreeItemTemplate"telerik:ContainerBinding.ContainerBindings="{StaticResource TreeBinder}"><GridHorizontalAlignment="Stretch"VerticalAlignment="Stretch"Height="Auto"Width="Auto"><Grid.RowDefinitions><RowDefinition/></Grid.RowDefinitions><Grid.ColumnDefinitions><ColumnDefinitionWidth="18"/><ColumnDefinitionWidth="Auto"/><ColumnDefinitionWidth="18"/></Grid.ColumnDefinitions><ImageGrid.Column="0"HorizontalAlignment="Center"VerticalAlignment="Center"Source="{Binding ImageSrc}"Margin="4,0,4,0"Height="16"Width="16"/><TextBlockGrid.Column="1"Text="{Binding Name}"/><ImageGrid.Column="2"Source="Resources/del_16.png"HorizontalAlignment="Center"VerticalAlignment="Center"Height="16"Width="16"/></Grid></telerik:HierarchicalDataTemplate>
So far this has not worked.. :(
Any ideas would be welcome..
Kurt
