Hi again,
I am using an UltraComboEditor within my UltraWinGrid to display different sorts of drop-down-lists (text only, text with image or image only). For text only and text with image, positioning of the elements and displaying of the drop-down-list work fine so far.
(1)But when I want to display only images (no text, neither DisplayText nor DataValue), I would like the images to be displayed centered within the drop-down-list. I am using DropDownListAlignment.Center but without effect. I guess this is caused by the fact that the size of the actual item is limited to the size of the image (plus text) but does not span the whole width of the drop-down-list. How can I adapt to this?
(2)Furthermore, when I click a cell containing the ComboEditor and it goes into EditMode, the TextEditor is being displayed on top of my image. I would like to achieve that no TextEditor is being displayed in this case, so that the user can see the currently selected image.
(3)The whole grid has been styled. I would like to set the BackColor of the list item on which my mouse is currently over to be the same color than the BackColor of my currently selected row(s).
(4)Since the App has been designed for touch input, I would like to adapt the width of the DropDownButton.
I have been looking to adapt these features on my own, but tbh it's quite a waste of time when you don't know where to look at... I hope you can point me in the right direction :-)
I did find an answer to (4), but it does not make me too happy, since I am also using ScrollBars in my App. I guess they would be affected as well?
http://community.infragistics.com/forums/t/25261.aspx
Is there any new development concerning this issue?
Hi,
I'm having a little trouble following all of your requirements here. Just to make sure I have it right, what you want here is a dropdown in a column that shows only images and no text and when you select an item on the list, the image appears in the cell and is centered. And all of this is on a touch-screen, so you want the list items and the dropdown button to be large enough to click on with a finger.
Is that right?
What's the DataType of this column? Are you storing an image in the data, or is it a numeric field and you just want to map the numbers into pictures?