This example creates a LookupPropertyEditor descendant with a custom Edit button.

Follow the steps below to add a custom button to LookupPropertyEditor:
-
Create a LookupPropertyEditor descendant (MyLookupPropertyEditor.cs).
-
Access the RepositoryItemLookupEdit and use its settings to customize LookupPropertyEditor:
- Add a custom button to the Buttons collection.
- Subscribe to the ButtonClick event and implement custom logic in the event handler.
-
Assign the LookupPropertyEditor descendant to a business object's PropertyEditorType in the Model Editor (Model.xafml).
(you will be redirected to DevExpress.com to submit your response)