ContentSet

References
public sealed class ContentSet
A collection of content to be displayed in a content browser.

Constructors

ContentSet

#
public ContentSet(
params string[]
sections
)

Properties

Items

#
public IEnumerable<Content> Items { get; }

Methods

Add

#
public void Add(
content
)

Add

#
public void Add(
nomen,
icon,
tag = null
)

Clear

#
Remove every item from every section. Raises ItemsChanged once if anything was removed.
public void Clear()

Replace

#
Atomically replace the entire set of items. Items with an unknown chapter are silently dropped. Raises ItemsChanged exactly once at the end, regardless of how many items were added or removed.
public void Replace()

Events

ItemsChanged

#
public event EventHandler ItemsChanged