Skip to content

How to use a custom Lookup Property Editor control for reference properties in eXpress App Framework for WinForms

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/xaf-win-custom-lookup-property-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF WinForms - How to use a custom Lookup Property Editor control for reference properties

This example demonstrates a simple drop-down editor for reference properties. The editor contains Open, Add, and Clear buttons.

Custom Lookup

Implementation Details

The LookupPropertyEditorEx.cs file contains the reusable LookupPropertyEditorEx class. This Property Editor can be used for reference properties instead of the standard LookupPropertyEditor in WinForms XAF applications.

The LookUpEditEx and RepositoryItemLookUpEditEx classes implement a control for this Property Editor. The control extends the LookUpEdit class with additional features.

Note
To further research how the lookup property editor works, you can look at its source code in the following file:
C:\Program Files\DevExpress xx.x\Components\Sources\DevExpress.ExpressApp\DevExpress.ExpressApp.Win\Editors\LookupPropertyEditor.cs

Files to Review (EF Core)

Files to Review (XPO)

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

How to use a custom Lookup Property Editor control for reference properties in eXpress App Framework for WinForms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11