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

Cannot databind RadSlideView.ItemRealizationMode

1 Answer 30 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mirko
Top achievements
Rank 1
Mirko asked on 30 Jul 2013, 09:36 AM
Hi,
I've just discovered bug in SlideView - the property ItemRealizationMode cannot be databound because the related DependencyProperty has different name and even the getter and setter is not used properly:

"public static readonly DependencyProperty RealizationModeProperty = DependencyProperty.Register("RealizationMode", typeof (SlideViewItemRealizationMode), typeof (RadSlideView), new PropertyMetadata((object) SlideViewItemRealizationMode.Default, new PropertyChangedCallback(RadSlideView.OnRealizationModeChanged)));"

"public SlideViewItemRealizationMode ItemRealizationMode
{
    get { return this.realizationModeCache; }
    set { SetValue(RadSlideView.RealizationModeProperty, (object)value); }
}"

When I try to databind ItemRealizationMode="{Binding xy}", it's telling me "cannot assign type Binding to SlideViewItemRealizationMode, when I try to bind to RealizationMode, I get error that this is not a property.

From the look to source code, similar problem is in other properties as well.

Note we plan to use different Item realization mode based on the phone memory, for low mem devices we plan to use ViewportItem, and for other devices the Default mode. I can solve it now using manual assignment from code behind, but using such workarounds is not ideal.
Thanks for any repsonse.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 02 Aug 2013, 09:52 AM
Hi Mirko,

Thank you for reporting this.

We are going to fix it with our next internal build.

I have updated your Telerik points accordingly for your cooperation.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
SlideView
Asked by
Mirko
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or