Hi all,
I have a TextEditor with a DropDownEditorButton to show another control (in my case a grid, but that's not important).
How can I change the width of the dropped down control after it was displayed?
Setting Control.Width and similar have not effect.
Thanks for any hint,
Anca
Hi Anca,
I'm not sure I understand what you want to do. Why would you want to change the size of the control after it's displayed and not before? Are you saying that your dropdown needs to change size based on some action that the user takes?
What version of the controls are you using? If it's fairly recent, you could set the PreferredDropDownSize property on the DropDownEditorButton.
Hi Mike,
yes, the dropdown needs to change size base on user action.
Basically I need a UltraCombo with FIlterUIType = FilterRow. Could you confirm this is still not possible in the latest release?
So, I try to simulate this functionality with a DropDownEditorButton which shows a grid. Exactly like in your UltraCombo, I want the user to be able to resize the columns in the dropdown grid and if he does so, I want to programatically change the width of the dropdown to show all columns and no white space.
With version 10.3.20103.2115, I tried setting PreferredDropDownSize with no success. Is there a Refresh method which I could call afterwards to make it paint with the new size?
Demo project attached.
Thanks,