GH_StringList<T>

public class GH_StringList<T> : IEnumerable<T>
Represents a collection of String List Items.
TSome implementation of IGH_StringListItem. where IGH_ListItem

Constructors

GH_StringList

#
public GH_StringList()

GH_StringList

#
public GH_StringList(
initial_capacity
)

Properties

BoundingBox

#
Gets the cached boundingbox for this list. This box won't be valid until BuildCache() is called.
public Rectangle BoundingBox { get; }

Capacity

#
Gets or sets the total capacity of this list.
public int Capacity { get; set; }

Count

#
Gets the total number of items contained in this list.
public int Count { get; }

IsCached

#
Gets a value indicating whether the cached boundingbox is valid.
public bool IsCached { get; }

StackAlignment

#
Gets or sets the alignment of the entire stack. This alignment only comes into play when all the items fit within the drawing destination.
public StringAlignment StackAlignment { get; set; }

Indexers

ListItem

#
Get the list item at the specified index.
public T this[
i
Index of item to retrieve.
] { get; }

Methods

AppendItem

#
Add a new list item.
public void AppendItem(
T
item
Item to add, cannot be null.
)

AppendItems

#
Add a range of items.
public void AppendItems(
items
Items to add, none of the items can be null.
)

BuildCache

#
Measures all the items in the collection using the specified formatting domain and font.
public void BuildCache(
Rectangle
layoutBox
The destination of the text. Only the width is used.
)

ClearItems

#
Removes all items from the list and expires the caches.
public void ClearItems()

GetEnumerator

#
[EditorBrowsable(EditorBrowsableState.Never)] public IEnumerator<T> GetEnumerator()

GetEnumerator1

#
[EditorBrowsable(EditorBrowsableState.Never)] public IEnumerator GetEnumerator1()

RenderItems

#
public void RenderItems(
graphics,
Rectangle
destination,
scrollRatio,
delegatePreRenderItem,
delegatePostRenderItem
)

RenderItems

#
public void RenderItems(
graphics,
Rectangle
destination,
scrollRatio
)

RenderScrollBar

#
public void RenderScrollBar(
G,
Rectangle
destination,
scrollRatio,
Color
scrollColor,
ref Rectangle
scrollRectangle
)

RenderScrollBar

#
public void RenderScrollBar(
G,
Rectangle
destination,
scrollRatio,
ref Rectangle
scrollRectangle
)