Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/334.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# UltraGrid中没有多列下拉列表_C#_Winforms_Infragistics - Fatal编程技术网

C# UltraGrid中没有多列下拉列表

C# UltraGrid中没有多列下拉列表,c#,winforms,infragistics,C#,Winforms,Infragistics,有没有一种方法可以在网格单元格中进行多列下拉(最好使用文本建议,如UltraComboEditor) 我可以在网格单元中使用UltraDropDown控件来实现,但是,似乎它只想生活在ultragrid中 我发现了以下文档: 上面说: UltraCombo控件可以用作UltraGrid列的UltraGridColumn.ValueList,但它是用于窗体上的独立控件。要在网格单元格中提供多列下拉列表,请使用UltraDropDown控件 但是。。。我要找的是一个下拉控件,不是在网格中,有多列。

有没有一种方法可以在网格单元格中进行多列下拉(最好使用文本建议,如UltraComboEditor)

我可以在网格单元中使用UltraDropDown控件来实现,但是,似乎它只想生活在ultragrid中

我发现了以下文档:

上面说: UltraCombo控件可以用作UltraGrid列的UltraGridColumn.ValueList,但它是用于窗体上的独立控件。要在网格单元格中提供多列下拉列表,请使用UltraDropDown控件

但是。。。我要找的是一个下拉控件,不是在网格中,有多列。基本上如上图所示,但不是在网格单元中


任何建议,甚至一些搜索词,以进一步研究将不胜感激。谢谢。

尝试使用devexpress GridLookUpEdit,如下链接所示


在这篇文章的帮助下,我最终解决了这个问题:


如果你研究基础设施控制,你需要的是什么。这是一个多列下拉列表,您可以将其作为独立控件放置在应用程序中的任何位置。

谢谢,bu,我正在寻找一些不在网格中的内容,只是一个不在网格中的下拉控件。是的,这是一个不在网格中的下拉控件。你检查过了吗?
//create and ultradropdown item and populate it
UltraDropDown udd = new UltraDropDown();
udd.DataSource = PrefTags.FindAllOrdered();

//create a popup container and add the ultradropdown item to the 'popupcontrol' property of the container
UltraPopupControlContainer container = new UltraPopupControlContainer();
container.PopupControl = udd;

//add the container to an ultradropdownbutton control
uddbInstrumentNo.PopupItem = container;