Friday 8 August, 2008

DevExpress - Removing Close button from LookUpEdit

DevExpress has, no doubt, a great looking GUI for Windows applications. But it comes with a pain. Most of the events which the standard windows controls have, have been deleted/ removed/ renamed.

The name of the events/properties are not very intuitive.

Anyway.. to hide the (red cross) close button on the LookUpEdit control's popup window, you have to set the show footer to false.
LookUpEdit.Properties.ShowFooter = false;

This took me long to figure that out, because from the name of the properties it's not clear if that will do the job.
It should have been some like ShowCloseButton or something better.

No comments: