LINQPad.Controls.SelectBox - selectedIndex doesn't work

I have experienced that LINQPad.Controls.SelectBox doesn't respect parameter selectedIndex

var items = new[] {"one", "two", "three"};
var selIdx = 1;

var selBox = new LINQPad.Controls.SelectBox(LINQPad.Controls.SelectBoxKind.DropDown, items, selIdx, null);
SelectBox always shows first item "one" regardless of selectedIndex parameter set;


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!