Show / Hide Table of Contents

    Interface IScrollingComponent

    This component gives the ability to attach scrollbars to an entity, which will then scroll the content (i.e the children) of the entity.

    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(ICropChildrenComponent), true)]
    [RequiredComponent(typeof(IBoundingBoxWithChildrenComponent), false)]
    [RequiredComponent(typeof(IBoundingBoxComponent), false)]
    public interface IScrollingComponent : IComponent, IDisposable, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    ContentsHeight

    Gets or sets the height of the contents (or leave as null to auto-detect).

    Declaration
    float? ContentsHeight { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Single>

    The height of the contents.

    | Improve this Doc View Source

    ContentsWidth

    Gets or sets the width of the contents (or leave as null to auto-detect).

    Declaration
    float? ContentsWidth { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Single>

    The width of the contents.

    | Improve this Doc View Source

    HorizontalScrollBar

    Gets or sets the horizontal scroll bar.

    Declaration
    IScrollbar HorizontalScrollBar { get; set; }
    Property Value
    Type Description
    IScrollbar

    The horizontal scroll bar.

    | Improve this Doc View Source

    VerticalScrollBar

    Gets or sets the vertical scroll bar.

    Declaration
    IScrollbar VerticalScrollBar { get; set; }
    Property Value
    Type Description
    IScrollbar

    The vertical scroll bar.

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