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

ItemStyle doesn't work properly

4 Answers 39 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Grigory Perepechko
Top achievements
Rank 1
Grigory Perepechko asked on 25 Feb 2013, 06:27 PM
Hi.

ItemStyle is not respected in Inline mode (for example 3 items) if set after list is completely rendered.

Basicaly if you look into RadItemsControl.cs you'll see that ItemsStyleProperty registration doesn't subscribe on property changes. 

I simply created a list like that 
<telerikInput:RadListPicker ItemsSource="{Binding Values}"                                                                   
              ItemStyle="{Binding Path=SelectedIndex, RelativeSource={RelativeSource Self}, Converter={StaticResource PickerNoSelectionItemStyleConverter}}">          
</telerikInput:RadListPicker>

And in converted i use different styles for first items and for others. ItemStyle changes on RadListPicker but is not applied to items.

Thanks a million

4 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 26 Feb 2013, 09:34 AM
Hi Grigory,

Thank you for contacting us. I've investigated the issue and I can confirm that  indeed the style of the items does not get updated when the ItemStyle property is changed. I've logged this issue and we'll do our best to fix it as soon as possible (most probably with the upcoming internal build). Let me know how this time frame works for you.

Regards,
Kiril Stanoev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Grigory Perepechko
Top achievements
Rank 1
answered on 27 Feb 2013, 11:03 AM
Hi :)
Thanks a million. Happy to see that Teleriks are becoming the best UI control library for Windows Phone.
0
Grigory Perepechko
Top achievements
Rank 1
answered on 09 Apr 2013, 10:39 AM
Hi there, are there any improvements ?
0
Victor
Telerik team
answered on 09 Apr 2013, 11:29 AM
Hi Grigory,

The ItemStyle property should update correctly in the latest internal build.

Greetings,
Victor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
ListPicker
Asked by
Grigory Perepechko
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Grigory Perepechko
Top achievements
Rank 1
Victor
Telerik team
Share this question
or