Hello, Jean-Mark,
There is no automatic way to determine it. However, you can measure the text in order to calculate the desired size by using the TextRenderer.
MeasureText method. It measures the specified text when drawn with the specified font. Additional information is available here:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.textrenderer.measuretext?view=netframework-4.7.2
Then, you can check the size of the drop down and conclude whether you have enough space for the whole text.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.