Cannot databind RadSlideView.ItemRealizationMode

2 posts, 0 answers
  1. Mirko
    Mirko avatar
    17 posts
    Member since:
    Jul 2013

    Posted 30 Jul 2013 Link to this post

    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.
  2. Todor
    Todor avatar
    773 posts

    Posted 02 Aug 2013 Link to this post

    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.

    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
Back to Top