Skip to main content

EditorButtonCollection.Contains(EditorButton) Method

Gets a value indicating whether the specified button belongs to the current collection.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual bool Contains(
    EditorButton button
)

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