RadTreeListView

4 posts, 0 answers
  1. satyajit
    satyajit avatar
    3 posts
    Member since:
    Mar 2009

    Posted 31 Jan 2010 Link to this post

    Hi,
    Currently we are using  RadTreeListView . Can anyone give me its style  
    Thanks in advance

     

  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 01 Feb 2010 Link to this post

    Hello satyajit,

    Please find attached a project.

    If you have further  questions please do not hesitate to ask us
    I hope this will help you.


    Regards,
    Dimitrina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tomasz Izydorczyk
    Tomasz Izydorczyk avatar
    4 posts
    Member since:
    Nov 2009

    Posted 03 Mar 2010 Link to this post

    Hi Dimitrina,

    I have the same problem as satyajit. I found the styles in Navigation assembly but when tried to change something I was surprised because it didn't work :(

    It's the same on your example (the same styles I found earlier).

    I've tried to change Tree Lines color and replaced it inside RadTreeListViewItem template as below:

    <Line x:Name="HorizontalLineElement" X2="8" Width="8" Stretch="Fill"  
                                            Stroke="Red" StrokeThickness="1"  
                                            HorizontalAlignment="Right" VerticalAlignment="Center"  
                                            IsHitTestVisible="False" Visibility="Collapsed"  
                                            StrokeEndLineCap="Square" />  
     
                                    <Line x:Name="VerticalHeaderLineElement" Grid.RowSpan="2" Y2="10"  
                                            Stretch="Fill" Stroke="Red" StrokeThickness="1"  
                                            StrokeEndLineCap="Square" HorizontalAlignment="Center"  
                                            IsHitTestVisible="False" Visibility="Collapsed" /> 
    but nothing has changed when rebuilt mine or yours project.

    I've also tried to change Background property on that style, but no effect again. It looks that it still applies template from assembly not from user resources.

    Any advice how to change style for RadTreeListViewItem?

    Thanks in advance,

    Tom

  5. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 04 Mar 2010 Link to this post

    Hello Tomasz Izydorczyk,

    In the attached example the styles of the TreeList were included in the resources but item styles were not actually used.

    When the ItemContainerStyle property is set it is correctly applied.

    I am attaching the same example where the lines are "Red".

    Please note that the TreeListView is a CTP and major changes are expected in it. It is best not to use it in production code at the time being.

    Greetings,
    Miroslav
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top