This question is locked. New answers and comments are not allowed.
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.
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.