Selected item rounded corner border

3 posts, 1 answers
  1. Shalin
    Shalin avatar
    61 posts
    Member since:
    May 2015

    Posted 12 Dec 2018 Link to this post

    i am using "ListViewTemplateCell" for my item template, i need to have rounded border around selected listview item

    <telerikDataControls:RadListView.SelectedItemStyle>
                                        <telerikListView:ListViewItemStyle BackgroundColor="Gray"      
                                                                   BorderColor="Green" BorderWidth="4"
                                                                   BorderLocation="All"/>
                                    </telerikDataControls:RadListView.SelectedItemStyle>

     

    1) how to do it ? 

    2) can renderers do it ?

    i need answer for both iOS and android

  2. Answer
    Didi
    Admin
    Didi avatar
    356 posts

    Posted 12 Dec 2018 Link to this post

    Hello Shalin,

    Thank you for the provided code.

    I have created a sample example that shows how to create rounded border when item from the RadListView is selected using RadBorder control. Please take a look at the attached sample how this functionality could be implemented.

    I hope I was helpful. Let me know if you have any additional questions on this.

    Regards,
    Didi
    Progress 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. Shalin
    Shalin avatar
    61 posts
    Member since:
    May 2015

    Posted 13 Dec 2018 in reply to Didi Link to this post

    Thank you very much. RadBorder did the trick....
Back to Top