How to animate dynamically added tabitem

9 posts, 1 answers
  1. Hicham
    Hicham avatar
    5 posts
    Member since:
    Mar 2011

    Posted 25 Oct 2011 Link to this post

    How to slide RadTabItem when we add new RadTabItem dynamically in the RadTabControls?

    I want to animate the newly added TabItem and I want to add a sliding animation for content when it is selected.

    Thank you very much!
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 28 Oct 2011 Link to this post

    Hello Hicham,

     Currently this cannot be implemented easily in the RadTabControl. This needs a lot of XAML and code behind work. We could create a feature request for you and you will be able to vote for it, thus increasing its development priority. Is this suitable for you ?

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Hicham
    Hicham avatar
    5 posts
    Member since:
    Mar 2011

    Posted 28 Oct 2011 Link to this post

    Hello Petar,

    It'll be nice if you do it, especially my company uses your products in many projects. I am ready to give you more details if needed.

    Thank you for your help.

    Best wishes.
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 02 Nov 2011 Link to this post

    Hi Hicham,

     Yes, we will appreciate if you can send us more details about this feature request. This way it will be more clear and the people will take easier decisions on whether to vote for the feature in PITS or not. Thank you in advance.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Hicham
    Hicham avatar
    5 posts
    Member since:
    Mar 2011

    Posted 04 Nov 2011 Link to this post

    Hi Petar,

    My need is this:

    Every RatTabItem is created dynamically when a Radmenu is clicked. So I want to have the transition like if the tabitem fade in from the menu (the same effect in windows task bar window openning). And when closing the tab I want that appears like if the tab returns to the menu which opened it before.

    Good regards.
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 09 Nov 2011 Link to this post

    Hi Hicham,

    If there is no movement (item moving from Menu to TabControl) , why not playing with the Opacity of the RadTabItem after it is added (increase from 0 to 1 in some time interval) and the Opacity of the RadMenuItem before being removed (decrease from 1 to 0). Is this suitable for you ?

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  8. Hicham
    Hicham avatar
    5 posts
    Member since:
    Mar 2011

    Posted 10 Nov 2011 Link to this post

    I'll try to do it. But it will be appreciable if you gave a sample. Thank you in advance.
  9. Answer
    Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 15 Nov 2011 Link to this post

    Hi Hicham,

     I prepared a project for you that animates the Opacity of the RadTabItems and RadMenuItems. Hope you will find it useful.

    Kind regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  10. Hicham
    Hicham avatar
    5 posts
    Member since:
    Mar 2011

    Posted 16 Nov 2011 Link to this post

    Hello Petrav,

    Thank you for you great effort. The sample you gived me is suitable for my need. I will use it  as base to acheive my task.

    Best regards.
Back to Top
DevCraft banner