Hey guys, this is probably a dumb question, but I'm stumped. I see in the 10.3 samples collection a sample about the resizable drop downs, and in the sample code, the UltraComboEditor uses the DropDownResizeHandleStyle property. Problem is, I can't see that property in my code.
I am using a 10.3 UltraComboEditor, and I see in the References of my project what I would guess are all the relevant Infragistics2 assemblies (Shared.v10.3, Win.Misc.v10.3, Win.UltraWinEditors.v10.3, Win.v10.3) and there are no 10.2 or earlier assemblies (they're all 10.3).
I can't see this property in the designer, nor can I in the code in AutoComplete. When I paste the name 'DropDownResizeHandleStyle' after the dot, there is no underscore bar in Visual Studio to auto-add a using clause or anything.
So what should I check next? Any ideas?
Thanks,
J
Hi J,
The property is not on the control, it's on the ValueList object.
this.ultraComboEditor1.ValueList.DropDownResizeHandleStyle
Is there a sample somewhere that shows this property on the control itself? If so, please let me know what sample or help topic you were looking at so I can get it corrected.
Hey Mike,
Thanks for the tip there, that got it working. The code I found was in the designer only, but it does compile if pasted into the main code file (I put it in some random event to see if it would compile).
This is from the Resizable Drop Down sampler designer auto-generated code.
this.cmbDropDownResizeStyle.DropDownResizeHandleStyle = Infragistics.Win.DropDownResizeHandleStyle.None;
I'm glad you got it working. I took another look, now that you mentioned the sample, and I discovered that it is possible to set the property at design-time. But you cannot do it through the property grid (since it's on a sub-object). You can only do it by using the smart tags.