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
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 SourceContentsHeight
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. |
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. |
HorizontalScrollBar
Gets or sets the horizontal scroll bar.
Declaration
IScrollbar HorizontalScrollBar { get; set; }
Property Value
Type | Description |
---|---|
IScrollbar | The horizontal scroll bar. |
VerticalScrollBar
Gets or sets the vertical scroll bar.
Declaration
IScrollbar VerticalScrollBar { get; set; }
Property Value
Type | Description |
---|---|
IScrollbar | The vertical scroll bar. |