# TreeGridItem class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[ContentProperty("Children")]
public class TreeGridItem : GridItem, ITreeGridItem, ITreeGridStore<ITreeGridItem>
```

Item for a [TreeGridView](https://eto.picoe.ca/api/type/eto.forms.treegridview.md) for each node of the tree.

**Remarks:** This is the standard implementation. You can implement [ITreeGridItem](https://eto.picoe.ca/api/type/eto.forms.itreegriditem.md) with your own class to use them as nodes in the tree instead.

## Constructors

- [TreeGridItem](https://eto.picoe.ca/api/type/eto.forms.treegriditem/ctor.md): (3 overloads) Initializes a new instance of the [TreeGridItem](https://eto.picoe.ca/api/type/eto.forms.treegriditem.md) class.

## Properties

- [Children](https://eto.picoe.ca/api/type/eto.forms.treegriditem/children.md): Gets the collection of children for this tree grid item.
- [Count](https://eto.picoe.ca/api/type/eto.forms.treegriditem/count.md): Gets the number of child items.
- [Expandable](https://eto.picoe.ca/api/type/eto.forms.treegriditem/expandable.md): Gets a value indicating whether this [TreeGridItem](https://eto.picoe.ca/api/type/eto.forms.treegriditem.md) is expandable.
- [Expanded](https://eto.picoe.ca/api/type/eto.forms.treegriditem/expanded.md): Gets or sets a value indicating whether this [TreeGridItem](https://eto.picoe.ca/api/type/eto.forms.treegriditem.md) is expanded.
- [Parent](https://eto.picoe.ca/api/type/eto.forms.treegriditem/parent.md): Gets or sets the parent of this item.

## Indexers

- [this[]](https://eto.picoe.ca/api/type/eto.forms.treegriditem/item.md): Gets the child item at the specified index.

## Inherited Members

- From [GridItem](https://eto.picoe.ca/api/type/eto.forms.griditem.md): [Tag](https://eto.picoe.ca/api/type/eto.forms.griditem/tag.md), [Values](https://eto.picoe.ca/api/type/eto.forms.griditem/values.md), [GetValue](https://eto.picoe.ca/api/type/eto.forms.griditem/getvalue.md), [SetValue](https://eto.picoe.ca/api/type/eto.forms.griditem/setvalue.md)
