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

RepositoryItemSearchControl.Buttons Property

Provides access to the collection of buttons in the current SearchControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public SearchControlButtonCollection Buttons { get; }

#Property Value

Type Description
DevExpress.XtraEditors.Repository.SearchControlButtonCollection

The SearchControlButtonCollection object that represents the collection of EditorButton objects.

#Remarks

To display a custom button in the SearchControl, create an EditorButton object, specify its settings and add it to the Buttons collection.

Handle the RepositoryItemButtonEdit.ButtonClick or ButtonEdit.ButtonClick events to respond to a button click within the SearchControl.

See Also