Photo Album Viewer Element

5 posts, 2 answers
  1. Kencana
    Kencana avatar
    6 posts
    Member since:
    Feb 2016

    Posted 24 Feb Link to this post

    Hi..Telerik Team

    I am facing problem when add photo album viewer element inside my project. If i am running example from telerik there is no error but when i export into my project there is pop up few error.

    I had attach some ss from my project. Appreciate your help to solve my problem.

  2. Answer
    Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 25 Feb Link to this post

    Hello Kencana,

    Thank you for writing.

    The AnimatedPropertySetting expects one more parameter determining the start value. Could you please modify the animation settings in the AnimateSelectedItem method this way: 
    Private Sub AnimateSelectedItem(ByVal zoomIn As Boolean)
        '...
        Dim setting1 As New AnimatedPropertySetting(RadElement.BoundsProperty, Nothing, New Rectangle(zoomedItemLocation, OriginalItemSize), numFrames, frameInterval)
     
        Dim setting2 As New AnimatedPropertySetting(RadElement.ScaleTransformProperty, Nothing, New SizeF(itemZoomFactor, itemZoomFactor), numFrames, frameInterval)
     
        Dim setting3 As New AnimatedPropertySetting(RadElement.AngleTransformProperty, Nothing, 0.0F, 12, frameInterval)
     
        '...     
    End Sub

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kencana
    Kencana avatar
    6 posts
    Member since:
    Feb 2016

    Posted 28 Feb Link to this post

    Hi...Hristo Merdjanov

    Thx for your feedback. After do changes for the animation settings. Error not appear anymore. But when i am load a form. Error_2.jpg still exist. Is it possible causes by framework version?

  5. Kencana
    Kencana avatar
    6 posts
    Member since:
    Feb 2016

    Posted 28 Feb Link to this post

    Hi...Hristo Merdjanov

    Please ignore my previous mail. Your advise suppose solve my problem. I try to rebuild a form and try again. Anyway thank you. I will mark the ticket as solved. Any further issue will write back.

  6. Answer
    Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 29 Feb Link to this post

    Hello Kencana,

    Thank you for writing back.

    I am glad that the suggested solution fixed your issue.

    Please let me know if I can assist you any further.

    Regards,
    Hristo Merdjanov
    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready