In this example, the CheckedComboBoxEdit is bound to a data source. The example creates a custom editor (CheckedImageComboBoxEdit
) that can display images in the edit box and drop-down window.
- To show images in the drop-down window, use the Properties.ImageMember property to specify the name of the data field with images (
Image
objects or a byte array). - Enable the
RepositoryItemCheckedImageComboBoxEdit.ShowImagesInEditBox
option to display images in the edit box.
- CheckedImageComboBoxEdit.cs (VB: CheckedImageComboBoxEdit.vb)
- CheckedImageComboBoxEditPainter.cs (VB: CheckedImageComboBoxEditPainter.vb)
- Main.cs (VB: Main.vb)
- RepositoryItemCheckedImageComboBoxEdit.cs (VB: RepositoryItemCheckedImageComboBoxEdit.vb)
(you will be redirected to DevExpress.com to submit your response)