Intersoft WebCombo Documentation
EnableAnimation Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > LayoutSet Class : EnableAnimation Property






Enable background image animation in dropdown element. Gets or sets a value indicating whether background animation is enabled when mouse is over the dropdown button.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Gets or sets a value indicating whether background animation is enabled when mouse is over the dropdown button.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property EnableAnimation As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Boolean
 
instance.EnableAnimation = value
 
value = instance.EnableAnimation
C# 
[DescriptionAttribute("Gets or sets a value indicating whether background animation is enabled when mouse is over the dropdown button.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public bool EnableAnimation {get; set;}
Delphi 
public read-write property EnableAnimation: Boolean; 
JScript 
DescriptionAttribute("Gets or sets a value indicating whether background animation is enabled when mouse is over the dropdown button.")
ISNet.Serialization.XmlSerializableAttribute()
DefaultValueAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set EnableAnimation : boolean
Managed Extensions for C++ 
[DescriptionAttribute("Gets or sets a value indicating whether background animation is enabled when mouse is over the dropdown button.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property bool get_EnableAnimation();
public: __property void set_EnableAnimation( 
   bool value
);
C++/CLI 
[DescriptionAttribute("Gets or sets a value indicating whether background animation is enabled when mouse is over the dropdown button.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property bool EnableAnimation {
   bool get();
   void set (    bool value);
}

Remarks

WebCombo.NET 4.0 supports background image animation to help you replicate rich UI controls in Windows Vista®. In this version, the background image animation is supported in dropdown element only.

However, note that the image animation requires certain design in order to create smooth effect. Not all design will look good when the animation is enabled. For instance, the default style that comes in version 4.0 is specially designed to display smoothly while animation is enabled.

When a new instance of WebCombo is created in designer (design time), EnableAnimation is enabled by default. However, to preserve compatibility with existing application, this new feature will not be enabled for existing instances of WebCombo.

To enable dropdown background animation on WebCombo, you can read How-To: Enable animation.

Requirements

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

See Also

Reference

LayoutSet Class
LayoutSet Members

Tasks

How-To: Enable animation

Concepts

Vista-style image animation

© 2012 Intersoft Solutions Corp. All Rights Reserved.