Show / Hide Table of Contents

    Interface IButtonComponent

    A button component allows having the entity behave like a button.

    Inherited Members
    IComponent.Name
    IComponent.Entity
    IComponent.RegistrationType
    IComponent.Init(IEntity, Type)
    IComponent.AfterInit()
    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 Source

    HoverAnimation

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX