Show / Hide Table of Contents

Interface IContainer<T>

Represents a container that can hold other UI Elements.

Inherited Members
IRecalculable.Recalculate()
IProcessable.Process()
IProcessable.Visible
Namespace: LemonUI
Assembly: LemonUI.SHVDN3.dll
Syntax
public interface IContainer<T> : IRecalculable, IProcessable
Type Parameters
Name Description
T

The type of Element that this container handles.

Methods

View Source

Add(T)

Adds the specified item into the Container.

Declaration
void Add(T item)
Parameters
Type Name Description
T item

The item to add.

View Source

Clear()

Clears all of the items in the container.

Declaration
void Clear()
View Source

Contains(T)

Checks if the item is part of the container.

Declaration
bool Contains(T item)
Parameters
Type Name Description
T item

The item to check.

Returns
Type Description
bool

true if the item is in this container, false otherwise.

View Source

Remove(Func<T, bool>)

Removes all of the items that match the function.

Declaration
void Remove(Func<T, bool> func)
Parameters
Type Name Description
Func<T, bool> func

The function to check items.

View Source

Remove(T)

Removes the item from the container.

Declaration
void Remove(T item)
Parameters
Type Name Description
T item

The item to remove.

  • View Source
In this article
Back to top Generated by DocFX