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
275
XamComboEditor DropDown-Width
posted

Hello,

how can I achieve that the dropdown container has the optimal width.

Optimal means the width of the "longest" item in the dropdownlist.

I tried this

http://es.infragistics.com/community/forums/p/82515/412900.aspx#412900

but this does not work in Version 14.1.

Border border = (sender as Popup).Child as Border;
border.Width = double.NaN;

The Child is a Grid not a Border anymore. I tried casting to the grid, but this not work.

Thanks for your help

Markus