ICreate.Controls.Bars Send comments on this topic.
Animate Property
See Also 
ICreate.Controls.Bars Namespace > CollapsingGroupPanel Class : Animate Property






Gets or sets whether the colour and opacity changes occur abruptly or as a smooth transition.

Syntax

Visual Basic (Declaration) 
Public Property Animate As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CollapsingGroupPanel
Dim value As Boolean
 
instance.Animate = value
 
value = instance.Animate
C# 
public bool Animate {get; set;}
Delphi 
public read-write property Animate: Boolean; 
JScript 
public function get,set Animate : boolean
Managed Extensions for C++ 
public: __property bool get_Animate();
public: __property void set_Animate( 
   bool value
);
C++/CLI 
public:
property bool Animate {
   bool get();
   void set (bool value);
}

Return Value

A System.Boolean value, this property determines if colour and opacity changes occur abruptly or as a smooth transition. If true then the colour and opacity changes occur as a smooth transition; otherwise Animate is false and the colour and opacity changes are abrupt.

Remarks

A CollapsingGroupPanel is cold when it does not contain the mouse cursor nor do any of its child controls have the input focus. A CollapsingGroupPanel is hot when it contains the mouse cursor or one of its child controls have the input focus. A BrushDefinition has both hot and cold colours. When a CollapsingGroupPanel is hot it is coloured using the hot colours of the BrushDefinitions. Similarly when a CollapsingGroupBox is cold, it is coloured using the cold colours of the BrushDefinitions. The opacity of the Watermark also changes depending on whether the CollapsingGroupPanel is hot or cold. The WatermarkOpacity property specifies the cold opacity of the Watermark. WatermarkHotOpacity specifies the hot opacity of the Watermark.

The Animate property determines the colour and opacity transition effects. If Animate is false then the transition is abrupt; otherwise Animate is true and the transition is a smooth fade.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also