A newer version of this page is available. Switch to the current version.

RepositoryItemSearchControl.Buttons Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll


public SearchControlButtonCollection Buttons { get; }

Property Value

Type Description

The SearchControlButtonCollection object that represents the collection of EditorButton objects.


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