Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
659
How can you change the size of a control which is shown as a drop down?
posted

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

  • 469350
    Offline posted

    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.