## CustomCommandButtonCollection class

Représente la collection de CustomCommandButton.

```csharp
public class CustomCommandButtonCollection : IList
```

## Propriétés

| Nom | La description |
| --- | --- |
| [Count](../../aspose.cells.gridweb/customcommandbuttoncollection/count) { get; } | Obtient le nombre de la collection. |
| [IsFixedSize](../../aspose.cells.gridweb/customcommandbuttoncollection/isfixedsize) { get; } | Usage interne uniquement. |
| [IsReadOnly](../../aspose.cells.gridweb/customcommandbuttoncollection/isreadonly) { get; } | Usage interne uniquement. |
| [IsSynchronized](../../aspose.cells.gridweb/customcommandbuttoncollection/issynchronized) { get; } | Usage interne uniquement. |
| [Item](../../aspose.cells.gridweb/customcommandbuttoncollection/item) { get; set; } | Obtient un objet de bouton de commande personnalisé à l'index. |
| [SyncRoot](../../aspose.cells.gridweb/customcommandbuttoncollection/syncroot) { get; } | Usage interne uniquement. |

## Méthodes

| Nom | La description |
| --- | --- |
| [Add](../../aspose.cells.gridweb/customcommandbuttoncollection/add)(object) | Ajouter un objet de bouton de commande personnalisé à la collection. |
| [Clear](../../aspose.cells.gridweb/customcommandbuttoncollection/clear)() | Efface la collection. |
| [Contains](../../aspose.cells.gridweb/customcommandbuttoncollection/contains)(object) | Indique si l'objet bouton de commande personnalisé se trouve dans la collection. |
| [CopyTo](../../aspose.cells.gridweb/customcommandbuttoncollection/copyto)(Array, int) | Copie la collection dans un tableau. |
| [GetEnumerator](../../aspose.cells.gridweb/customcommandbuttoncollection/getenumerator)() | Obtient un objet IEnumerator de la collection. |
| [IndexOf](../../aspose.cells.gridweb/customcommandbuttoncollection/indexof)(object) | Obtient l'index du bouton. |
| [Insert](../../aspose.cells.gridweb/customcommandbuttoncollection/insert)(int, object) | Insère un bouton à l'index. |
| [Remove](../../aspose.cells.gridweb/customcommandbuttoncollection/remove)(object) | Supprime l'objet bouton de commande personnalisé. |
| [RemoveAt](../../aspose.cells.gridweb/customcommandbuttoncollection/removeat)(int) | Supprime à l'index. |

### Exemples

```csharp
[C#]
CustomCommandButton button = new CustomCommandButton();
button.Command = "MyCommand";
button.ImageUrl = "images/button1.gif";
GridWeb1.CustomCommandButtons.Add(button);
[VB]
Dim button As CustomCommandButton =  New CustomCommandButton()
button.Command = "MyCommand"
button.ImageUrl = "images/button1.gif"
GridWeb1.CustomCommandButtons.Add(button)
```

### Voir également

* espace de noms [Aspose.Cells.GridWeb](../../aspose.cells.gridweb)
* Assemblée [Aspose.Cells.GridWeb](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
