FadingOptions Enumeration

Represents possible fading animation options.

See the online help of the AdvancedButton class for an animated image example.

Definition

Namespace: KGySoft.WinForms.Controls
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
[FlagsAttribute]
public enum FadingOptions

Examples

  Tip

See the Examples section of the AdvancedButton class for an animated image example.

Members

None0x00000000 Represents no enabled fading animation.
StandardEffects0x00000001 Indicates that the standard fading animations (toggling the enabled, hovered, pushed and checked states where applicable) are enabled for the control. The speed of these effects are retrieved from the operating system.
TextChange0x00000008 Indicates that text change should be performed by a fading effect.
Appearing0x00000010 Indicates that a fading effect should be performed when Visibility of the control is turned on.

  Note

When the control turns invisible, it is performed without fading to avoid security problems.
ColorChange0x00000020 Indicates that color changes should be performed by a fading effect. Does not affect colors of the flat appearance. If fading is required also for such colors, use the AnyChange flag instead.
AnyChange0x80000000 Indicates that any kind of visual change should be performed by a fading effect, except size changes.

See Also