## CustomCommandButtonCollection class

يمثل مجموعة CustomCommandButton.

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

## الخصائص

| اسم | وصف |
| --- | --- |
| [Count](../../aspose.cells.gridweb/customcommandbuttoncollection/count) { get; } | يحصل على عدد المجموعة . |
| [IsFixedSize](../../aspose.cells.gridweb/customcommandbuttoncollection/isfixedsize) { get; } | للاستخدام الداخلي فقط. |
| [IsReadOnly](../../aspose.cells.gridweb/customcommandbuttoncollection/isreadonly) { get; } | للاستخدام الداخلي فقط. |
| [IsSynchronized](../../aspose.cells.gridweb/customcommandbuttoncollection/issynchronized) { get; } | للاستخدام الداخلي فقط. |
| [Item](../../aspose.cells.gridweb/customcommandbuttoncollection/item) { get; set; } | الحصول على كائن زر أمر مخصص في الفهرس. |
| [SyncRoot](../../aspose.cells.gridweb/customcommandbuttoncollection/syncroot) { get; } | للاستخدام الداخلي فقط. |

## طُرق

| اسم | وصف |
| --- | --- |
| [Add](../../aspose.cells.gridweb/customcommandbuttoncollection/add)(object) | إضافة كائن زر أمر مخصص إلى المجموعة. |
| [Clear](../../aspose.cells.gridweb/customcommandbuttoncollection/clear)() | يمسح المجموعة . |
| [Contains](../../aspose.cells.gridweb/customcommandbuttoncollection/contains)(object) | يشير إلى ما إذا كان كائن زر الأمر المخصص موجودًا في المجموعة. |
| [CopyTo](../../aspose.cells.gridweb/customcommandbuttoncollection/copyto)(Array, int) | نسخ المجموعة إلى مصفوفة . |
| [GetEnumerator](../../aspose.cells.gridweb/customcommandbuttoncollection/getenumerator)() | الحصول على كائن IEnumerator للمجموعة. |
| [IndexOf](../../aspose.cells.gridweb/customcommandbuttoncollection/indexof)(object) | يحصل على فهرس الزر . |
| [Insert](../../aspose.cells.gridweb/customcommandbuttoncollection/insert)(int, object) | إدراج زر في الفهرس . |
| [Remove](../../aspose.cells.gridweb/customcommandbuttoncollection/remove)(object) | يزيل كائن زر الأمر المخصص. |
| [RemoveAt](../../aspose.cells.gridweb/customcommandbuttoncollection/removeat)(int) | تتم إزالته في الفهرس . |

### أمثلة

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

### أنظر أيضا

* مساحة الاسم [Aspose.Cells.GridWeb](../../aspose.cells.gridweb)
* المجسم [Aspose.Cells.GridWeb](../../)

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