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

How to animate dynamically added tabitem

8 Answers 55 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Hicham
Top achievements
Rank 1
Hicham asked on 25 Oct 2011, 05:04 PM
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!

8 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 28 Oct 2011, 02:53 PM
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 >>

0
Hicham
Top achievements
Rank 1
answered on 28 Oct 2011, 04:12 PM
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.
0
Petar Mladenov
Telerik team
answered on 02 Nov 2011, 10:53 AM
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 >>

0
Hicham
Top achievements
Rank 1
answered on 04 Nov 2011, 06:50 PM
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.
0
Petar Mladenov
Telerik team
answered on 09 Nov 2011, 03:55 PM
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 >>

0
Hicham
Top achievements
Rank 1
answered on 10 Nov 2011, 06:40 PM
I'll try to do it. But it will be appreciable if you gave a sample. Thank you in advance.
0
Accepted
Petar Mladenov
Telerik team
answered on 15 Nov 2011, 05:57 PM
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 >>

0
Hicham
Top achievements
Rank 1
answered on 16 Nov 2011, 07:12 PM
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.
Tags
TabControl
Asked by
Hicham
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Hicham
Top achievements
Rank 1
Share this question
or