ViewCollection
The children of a
Panel, raising a change callback so the panel can relayout.- Kind: Class
- Namespace: SkeleKit
- Implements:
IEnumerable<View>,IEnumerable
Properties
Count
The number of children.
Type: int
this
The child at index.
Type: View
| Parameter | Summary |
|---|---|
int index | The zero-based index. |
Methods
Add
Adds a child to the panel.
| Parameter | Summary |
|---|---|
View view | The child to add. |
Clear
Removes all children.
GetEnumerator
Returns an enumerator over the children.
Returns
IEnumerator<View>: An enumerator over the children.
Remove
Removes a child from the panel.
| Parameter | Summary |
|---|---|
View view | The child to remove. |
Returns
bool:trueif the child was present and removed.