Table of Contents

Class ScrollBox<TElementContainer>

Namespace
RichHudFramework.UI
Assembly
RichHudClient.dll

A scrollable container for HUD elements, based on HudChain<TElementContainer, TElement>. It clips content that exceeds its bounds and provides a scrollbar for navigation.

Alias of ScrollBox<TElementContainer, TElement> with HudElementBase as the element type.

public class ScrollBox<TElementContainer> : ScrollBox<TElementContainer, HudElementBase>, IReadOnlyHudElement, IReadOnlyHudNode, IReadOnlyHudParent, IHudCollection<TElementContainer, HudElementBase>, IReadOnlyHudCollection<TElementContainer, HudElementBase>, IReadOnlyList<TElementContainer>, IReadOnlyCollection<TElementContainer>, IEnumerable<TElementContainer>, IEnumerable where TElementContainer : IScrollBoxEntry<HudElementBase>, new()

Type Parameters

TElementContainer
Inheritance
HudCollection<TElementContainer, HudElementBase>
HudChain<TElementContainer, HudElementBase>
ScrollBox<TElementContainer, HudElementBase>
ScrollBox<TElementContainer>
Implements
IHudCollection<TElementContainer, HudElementBase>
IReadOnlyList<TElementContainer>
IReadOnlyCollection<TElementContainer>
IEnumerable<TElementContainer>
Derived
Inherited Members
End

Constructors

ScrollBox(HudParentBase)

public ScrollBox(HudParentBase parent = null)

Parameters

parent HudParentBase

ScrollBox(bool, HudParentBase)

public ScrollBox(bool alignVertical, HudParentBase parent = null)

Parameters

alignVertical bool
parent HudParentBase