## CustomCommandButtonCollection class

Repräsentiert die Sammlung von CustomCommandButton.

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

## Eigenschaften

| Name | Beschreibung |
| --- | --- |
| [Count](../../aspose.cells.gridweb/customcommandbuttoncollection/count) { get; } | Ruft die Anzahl der Sammlung ab. |
| [IsFixedSize](../../aspose.cells.gridweb/customcommandbuttoncollection/isfixedsize) { get; } | Nur intern verwendet. |
| [IsReadOnly](../../aspose.cells.gridweb/customcommandbuttoncollection/isreadonly) { get; } | Nur intern verwendet. |
| [IsSynchronized](../../aspose.cells.gridweb/customcommandbuttoncollection/issynchronized) { get; } | Nur intern verwendet. |
| [Item](../../aspose.cells.gridweb/customcommandbuttoncollection/item) { get; set; } | Ruft ein benutzerdefiniertes Befehlsschaltflächenobjekt am Index ab. |
| [SyncRoot](../../aspose.cells.gridweb/customcommandbuttoncollection/syncroot) { get; } | Nur intern verwendet. |

## Methoden

| Name | Beschreibung |
| --- | --- |
| [Add](../../aspose.cells.gridweb/customcommandbuttoncollection/add)(object) | Fügen Sie der Sammlung ein benutzerdefiniertes Befehlsschaltflächenobjekt hinzu. |
| [Clear](../../aspose.cells.gridweb/customcommandbuttoncollection/clear)() | Löscht die Sammlung. |
| [Contains](../../aspose.cells.gridweb/customcommandbuttoncollection/contains)(object) | Gibt an, ob sich das benutzerdefinierte Befehlsschaltflächenobjekt in der Sammlung befindet. |
| [CopyTo](../../aspose.cells.gridweb/customcommandbuttoncollection/copyto)(Array, int) | Kopiert die Sammlung in ein Array. |
| [GetEnumerator](../../aspose.cells.gridweb/customcommandbuttoncollection/getenumerator)() | Ruft ein IEnumerator-Objekt der Sammlung ab. |
| [IndexOf](../../aspose.cells.gridweb/customcommandbuttoncollection/indexof)(object) | Ruft den Index der Schaltfläche ab. |
| [Insert](../../aspose.cells.gridweb/customcommandbuttoncollection/insert)(int, object) | Fügt eine Schaltfläche am Index ein. |
| [Remove](../../aspose.cells.gridweb/customcommandbuttoncollection/remove)(object) | Entfernt das benutzerdefinierte Befehlsschaltflächenobjekt. |
| [RemoveAt](../../aspose.cells.gridweb/customcommandbuttoncollection/removeat)(int) | Entfernt am Index. |

### Beispiele

```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)
```

### Siehe auch

* namensraum [Aspose.Cells.GridWeb](../../aspose.cells.gridweb)
* Montage [Aspose.Cells.GridWeb](../../)

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