How to disable adorner border around nodes with some children checked

2 posts, 0 answers
  1. James
    James avatar
    1 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2012 Link to this post

    I have a treeview with tri-state mode enabled bound to a hierachical data source. When I check some children of a node (but not all), a red adorner border surrounds the whole RadTreeViewItem. A screenshot is attached.

    How do I disable this border?

    RadTreeView XAML:

                ItemsSource="{Binding ElementName=ElementRoot, Path=RoleList}"
                SelectedItem="{Binding ElementName=ElementRoot, Path=SelectedRole, Mode=TwoWay}"
                ItemContainerStyle="{StaticResource ApplicationTreeViewStyle}"
                ScrollViewer.VerticalScrollBarVisibility="Auto" />


        DataType="{x:Type Models:Role}"
        ItemsSource="{Binding Children}">
            Text="{Binding DisplayName}" />


    <Style x:Key="ApplicationTreeViewStyle" TargetType="{x:Type telerik:RadTreeViewItem}">
            Value="{Binding Path=Selected, Mode=TwoWay}"/>
            Value="{Binding Path=Checked, Mode=TwoWay, Converter={StaticResource Bool2ToggleConverter}}"/>
            Value="{Binding Path=Expanded, Mode=TwoWay}" />

    Thank you,

  2. Petar Mladenov
    Petar Mladenov avatar
    2991 posts

    Posted 16 Mar 2012 Link to this post

    Hello James,

     This looks very strange to us. Is it possible for you to isolate it in a sample project that we could investigate locally? You can also check our test project where this is not reproducible, but you can correct us if we are missing something. Please also mention your exact assemblies version that you use. Thank you in advance.

    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top