To reproduce:
Add a RadMultiColumnComboBox with one row. Open and close the dropdown, you will see that the scrollbars will show and hide with every openning
Workaround:
Use the following class:
public class MCCB : RadMultiColumnComboBox
{
protected override RadMultiColumnComboBoxElement CreateMultiColumnComboBoxElement()
{
return new MCCBElement();
}
}
public class MCCBElement : RadMultiColumnComboBoxElement
{
protected override Size GetPopupSize(RadPopupControlBase popup, bool measure)
{
Size baseSize = base.GetPopupSize(popup, measure);
RadScrollBarElement hScrollBarElement = this.EditorControl.TableElement.HScrollBar;
baseSize.Height += (int)hScrollBarElement.ControlBoundingRectangle.Size.Height;
return baseSize;
}
protected override Type ThemeEffectiveType
{
get
{
return typeof(RadMultiColumnComboBoxElement);
}
}
}