SelectedItems Template

2 posts, 0 answers
  1. Minh
    Minh avatar
    43 posts
    Member since:
    May 2014

    Posted 06 Jan Link to this post

    Hi, when selecting items from the autocomplete box they add the items horizontally and to the right of the previous item. Is it possible to have each item have it's own row?

     

    So instead of [Item1] [Item2] [Item3]

    It'll be

     

    [Item1]

    [Item2]

    [Item3]

  2. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 07 Jan Link to this post

    Hello Minh,

    In order to achieve the desired ordering of the selected items of RadAutoCompleteBox you need to modify the default Template of the control. By setting the Orientation property of the AutoCompleteBoxesWrapPanel (inside it the items are arranged) to Vertical the items will be presented as expected.

    Please, check the attached sample that demonstrates that approach - notice that Implicit Styles are used.

    Hope this helps. 

    Regards,
    Nasko
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top