Interface IButtonComponent
A button component allows having the entity behave like a button.
Inherited Members
System.IDisposable.Dispose()
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
[RequiredComponent(typeof(IUIEvents), true)]
[RequiredComponent(typeof(IAnimationComponent), true)]
[RequiredComponent(typeof(ITextComponent), false)]
[RequiredComponent(typeof(IImageComponent), false)]
[RequiredComponent(typeof(IBorderComponent), false)]
public interface IButtonComponent : IComponent, IDisposable, INotifyPropertyChanged
Properties
| Improve this Doc View SourceHoverAnimation
Gets or sets the hover animation of the button (when the mouse hovers over the button).
Declaration
ButtonAnimation HoverAnimation { get; set; }
Property Value
Type | Description |
---|---|
ButtonAnimation | The hover animation. |
IdleAnimation
Gets or sets the idle animation of the button (the animation when a button is not pushed or hovered).
Declaration
ButtonAnimation IdleAnimation { get; set; }
Property Value
Type | Description |
---|---|
ButtonAnimation | The idle animation. |
PushedAnimation
Gets or sets the pushed animation of the button (when the user clicks the button).
Declaration
ButtonAnimation PushedAnimation { get; set; }
Property Value
Type | Description |
---|---|
ButtonAnimation | The pushed animation. |