This is a migrated thread and some comments may be shown as answers.

Frame inside RadListView ItemTemplate cause Text not showing

1 Answer 76 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Shalin
Top achievements
Rank 1
Shalin asked on 14 Feb 2018, 11:22 AM

I have a Label inside a Frame to make it has rounded borders. But nothing shows in listview item. No text or background color also not working. just white background items.

Can not we use Frame inside ListViewTemplateCell.View ? how to achieve this behavior ?

<telerikDataControls:RadListView.ItemTemplate>
                                <DataTemplate>
                                    <telerikListView:ListViewTemplateCell>
                                        <telerikListView:ListViewTemplateCell.View>
 
 
                                        <Frame CornerRadius="5" Padding="0">
                                            <Label Text="text" Margin="0" BackgroundColor="Green" TextColor="White"/>
                                        </Frame>
                                          </telerikListView:ListViewTemplateCell.View>
                                    </telerikListView:ListViewTemplateCell>
                                </DataTemplate>
                            </telerikDataControls:RadListView.ItemTemplate>

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 16 Feb 2018, 12:33 PM
Hi, Shalin,

I have tested the behavior and it works fine for me. Please have a look at the attached sample and consider a similar approach.

Have a great weekend.

Regards,
Stefan Nenchev
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
Tags
ListView
Asked by
Shalin
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or