By default, the animation for the expand/collapse behavior of the C1TopicBar control is set to System, meaning that the behavior follows the settings of a user's operating system. If you'd rather have control over this, you can turn the animation on by setting to Animation property to On, or you can turn the animation off by setting the Animation to Off.
Complete the following steps:
Complete the following steps:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Win.C1Command |
To write code in C#
C# |
Copy Code
|
---|---|
using C1.Win.C1Command; |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
c1TopicBar1.Animation = C1AnimationEnum.On |
To write code in C#
C# |
Copy Code
|
---|---|
c1TopicBar1.Animation = C1AnimationEnum.On |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
c1TopicBar1.Animation = C1AnimationEnum.Off |
To write code in C#
C# |
Copy Code
|
---|---|
c1TopicBar1.Animation = C1AnimationEnum.Off; |