Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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