Class CaptionButtonOptionsCollection
The CaptionButtonOptionsCollection class.
Inheritance
System.Object
CaptionButtonOptionsCollection
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CaptionButtonOptionsCollection : CollectionBase
Constructors
CaptionButtonOptionsCollection()
Declaration
public CaptionButtonOptionsCollection()
Properties
Item[Int32]
Gets/Sets the CaptionButtonOptions
Declaration
public CaptionButtonOptions this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The index of the CaptionButtonOptions. |
Property Value
| Type |
|---|
| CaptionButtonOptions |
Methods
Add(CaptionButtonOptions)
Add the CaptionButtonOptions
Declaration
public void Add(CaptionButtonOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CaptionButtonOptions | options | The CaptionButtonOptions instance. |
Contains(CaptionButtonOptions)
Check whether the CaptionButtonOptionsCollection contains the CaptionButtonOptions.
Declaration
public bool Contains(CaptionButtonOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CaptionButtonOptions | options | The CaptionButtonOptions instance. |
Returns
| Type |
|---|
| System.Boolean |
IndexOf(CaptionButtonOptions)
Returns the index of the CaptionButtonOptions.
Declaration
public int IndexOf(CaptionButtonOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CaptionButtonOptions | options | The CaptionButtonOptions instance. |
Returns
| Type |
|---|
| System.Int32 |
Insert(Int32, CaptionButtonOptions)
Insert the CaptionButtonOptions in specified index
Declaration
public void Insert(int index, CaptionButtonOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The index which needs to insert the CaptionButtonOptions. |
| CaptionButtonOptions | options | The CaptionButtonOptions instance. |
OnCollectionChanged()
Declaration
protected void OnCollectionChanged()
Remove(CaptionButtonOptions)
Remove the CaptionButtonOptions from its collection.
Declaration
public void Remove(CaptionButtonOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CaptionButtonOptions | options |
Events
CollectionChanged
Occurs when the collection changed.
Declaration
public event EventHandler CollectionChanged
Event Type
| Type |
|---|
| System.EventHandler |