This is a migrated thread and some comments may be shown as answers.

How to disable adorner border around nodes with some children checked

1 Answer 40 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
James asked on 14 Mar 2012, 07:59 AM
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,


1 Answer, 1 is accepted

Sort by
Petar Mladenov
Telerik team
answered on 16 Mar 2012, 04:08 PM
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 >>
Asked by
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question