This is a migrated thread and some comments may be shown as answers.
Selected item rounded corner border
2 Answers 8 Views
This is a migrated thread and some comments may be shown as answers.
Shalin
Top achievements
Rank 1
Shalin asked on 12 Dec 2018, 08:34 AM

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 Answers, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 12 Dec 2018, 12:54 PM
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
0
Shalin
Top achievements
Rank 1
answered on 13 Dec 2018, 08:19 AM
Thank you very much. RadBorder did the trick....
Asked by
Shalin
Top achievements
Rank 1
Answers by
Didi
Telerik team
Shalin
Top achievements
Rank 1
Share this question
or