<AddNewTabItem AnimationDuration="1500" Enabled="True">
WebTab™ supports animation when closing and opening a tab, providing your end users with rich UI. The animation effect when opening a new tab shows a gradual increase in tab item size and opacity. This depends on the animation duration, which can be set by AddNewTabItem object’s AnimationDuration property.
In HTML:
<AddNewTabItem AnimationDuration="1500" Enabled="True">
In Visual Basic:
WebTab1.AddNewTabItem.Enabled = True WebTab1.AddNewTabItem.AnimationDuration = 1500
In C#:
WebTab1.AddNewTabItem.Enabled = true; WebTab1.AddNewTabItem.AnimationDuration = 1500;
The animation effect when closing a tab shows a gradual decrease in tab item size and opacity. This depends on the animation duration, which can be set by CloseButton object’s AnimationDuration property.
In HTML:
<CloseButton AnimationDuration="1500" Enabled="True" />
In Visual Basic:
WebTab1.CloseButton.Enabled = True WebTab1.CloseButton.AnimationDuration = 1500
In C#:
WebTab1.CloseButton.Enabled = true; WebTab1.CloseButton.AnimationDuration = 1500;