RepositoryItemSearchControl.Buttons Property
Provides access to the collection of buttons in the current SearchControl.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
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