EditorButtonCollection.Contains(EditorButton) Method
Gets a value indicating whether the specified button belongs to the current collection.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| button | EditorButton | The button object to locate in the collection. |
Returns
| Type | Description |
|---|---|
| Boolean | true if the button belongs to the current button collection; otherwise, false. |
Remarks
The Contains method determines whether the specified EditorButton object belongs to the current button collection. Contains returns true if the button exists in the collection. Otherwise, the method returns false.
See Also