# TileSet class

Namespace: [Grasshopper2.UI.Canvas](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.canvas.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class TileSet : IDisposable
```

A collection of tiles.

## Constructors

- [TileSet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/ctor.md)

## Properties

- [Canvas](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/canvas.md): Gets the canvas this tileset is associated with.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/count.md): Gets the total number of tiles.
- [Documents](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/documents.md)
- [FileCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/filecount.md): Gets the number of file tiles.
- [State](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/state.md): Show UX state animation.
- [TileOpen](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/tileopen.md): Gets the open command tile.
- [TileRestore](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/tilerestore.md): Gets the restore command tile.
- [TileSand](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/tilesand.md): Gets the open in sandbox command tile.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/item.md): Gets the tile at the given index.

## Methods

- [Bury](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/bury.md): Bury the tiles. This hides them without destroying them upon completion.
- [Dispose](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/dispose.md)
- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/draw.md): Draw the tiles.
- [Hide](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/hide.md): Hide the tiles.
- [PopulateMenu](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/populatemenu.md)
- [RespondToMouseDown](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/respondtomousedown.md)
- [RespondToMouseMove](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/respondtomousemove.md)
- [Show](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/show.md): Show the tiles.
- [ShowTooltip](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.tileset/showtooltip.md)
