Node indentation

4 posts, 0 answers
  1. Stephen
    Stephen avatar
    3 posts
    Member since:
    May 2009

    Posted 23 May 2010 Link to this post

    How do you vary the amount by which child nodes are indented ?
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 26 May 2010 Link to this post

    Hi Stephen,

    You can use the ItemsIndent property, for example like so:

    <telerik:RadTreeView ItemsIndent="100">
        <telerik:RadTreeViewItem Header="Item 1" />
        <telerik:RadTreeViewItem Header="Item 2" >
            <telerik:RadTreeViewItem Header="Item 1" />
            <telerik:RadTreeViewItem Header="Item 2" />
            <telerik:RadTreeViewItem Header="Item 3" >
                <telerik:RadTreeViewItem Header="Item 1" />
                <telerik:RadTreeViewItem Header="Item 2" />
                <telerik:RadTreeViewItem Header="Item 3" />
                <telerik:RadTreeViewItem Header="Item 4" />
            </telerik:RadTreeViewItem>
            <telerik:RadTreeViewItem Header="Item 4" />
        </telerik:RadTreeViewItem>
        <telerik:RadTreeViewItem Header="Item 3" >
            <telerik:RadTreeViewItem Header="Item 1" />
            <telerik:RadTreeViewItem Header="Item 2" />
            <telerik:RadTreeViewItem Header="Item 3" />
            <telerik:RadTreeViewItem Header="Item 4" />
        </telerik:RadTreeViewItem>
        <telerik:RadTreeViewItem Header="Item 4" />
    </telerik:RadTreeView>


    Best wishes,
    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ramin
    Ramin avatar
    30 posts
    Member since:
    Sep 2010

    Posted 01 Oct 2010 Link to this post

    I have a problem with ItemsIndent property.
    Please look at the attached images and you can see there is a problem of aligning the lines when I set ItemsIndent="5"

     

  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 06 Oct 2010 Link to this post

    Hello Ramin,

    Thank you for reporting this issue. I logged it in our PITS where you can track its progress. I also updated your Telerik points.

    Please accept our apology for the caused inconvenience.

    Greetings,
    Tina Stancheva
    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