腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
数据电池渲染器
中
的
组合体
、
、
、
在没有运气
的
情况下,仔细搜索了一下: 我需要把一个组合框放进一个数据集
的
列
里。用户只需要从现有的combox项中选择一个值。我知道我需要一个定制
的
细胞渲染器。下面请看我目前
的
尝试。此尝试成功地将一个组合框插入到数据集中,但
中
没有任何数据。事实上,当我点击数据集中
的
组合框时,它和舞台上没有dataProvider
的
普通组合框是一样
的
。换句话说,它甚至都没有打开。因此,我需要知道如何修改我
的
单元格渲染器,以便正确地将数据
浏览 3
提问于2010-08-10
得票数 0
1
回答
DataGrid
中
的
ComboBox
未
显示
ComboBox
列
表项
、
、
、
、
当我尝试在
DataGrid
中使用
ComboBox
时,我没有看到用于填充
ComboBox
的
列表
中
的
任何项。DataGridTemplateColumn.CellTemplate> <
C
浏览 8
提问于2016-07-27
得票数 0
回答已采纳
1
回答
在WPF
中
的
组合框
中
显示
MySQL数据库
的
列
?我只
显示
了'System.Data.DataRowView‘
、
、
、
、
我正在尝试获取表
的
列
中
的
值,以填充组合框
的
选项。每当我尝试时,组合框都会填充正确数量
的
选项,但选项都是“System.Data.DataRowView”,而不是
列
的
值。XAML <
ComboBox
x:Name="
ComboBox
_1" HorizontalAlignment="Left" Margin="124,23,0,0" VerticalAli
浏览 58
提问于2019-04-26
得票数 0
回答已采纳
3
回答
WPF:在
ComboBox
中放置
DataGrid
、
、
在WPF
中
,如何将
DataGrid
放在
ComboBox
中
以
显示
多
列
?像下面这样
的
东西似乎没有任何作用: <ItemsPanelTemplate> <
DataGrid
.Columns<DataGridTextColumn Binding="{Binding billing
浏览 0
提问于2013-02-19
得票数 6
回答已采纳
1
回答
将嵌入在
ComboBox
中
的
DataGridTemplateColumn绑定到DataTable
、
、
、
、
我有一个
DataGrid
,它
的
DataContext被设置为DataTable (在C#代码
中
),这样
DataGrid
中
的
每个
列
都绑定到DataTable
中
的
一个
列
。在
DataGrid
的
一
列
中
,我希望
显示
一个可编辑
的
ComboBox
,它提供从MySQL数据库中提取并存储在另一个DataTabl
浏览 3
提问于2017-09-02
得票数 0
1
回答
如何在ItemsSource内部改变
ComboBox
的
DataGrid
?
、
、
场景:我
的
视图中有一个ContentControl,其内容属性与ViewModel
中
的
DataGrid
绑定。我将在运行时找到要在
DataGrid
中
显示
的
列
的确切数量,这就是为什么我正以编程方式在ViewModel
中
创建
DataGrid
的
原因。我
的
DataGrid
的
ItemsSource是一个DataTable。我将
Dat
浏览 4
提问于2011-03-01
得票数 0
回答已采纳
2
回答
将组合框添加到数据单元格
中
。
、
我想将组合框添加到
datagrid
中
,我
的
代码是 <
DataGrid
.Columns> <DataGridTextColumn Header="Description" Width="1*"
浏览 0
提问于2018-11-26
得票数 3
回答已采纳
2
回答
如何禁用新行
的
特定DataGid单元
、
、
、
、
我有一个简单
的
DataGrid
,有两个
列
,如下所示 <
DataGrid
.Columns> <DataGridTextColumn Header="Value" Binding="
浏览 1
提问于2017-03-05
得票数 2
回答已采纳
1
回答
将数据从
DataGrid
中提取到绑定
的
组合框
中
、
、
、
我要做
的
是将字符串从我
的
DataGrid
中
的
特定
列
中
取出,并在
Combobox
.Text属性
中
显示
该字符串。
中
的
正确字符串,但是每当我试图通过
Combobox
.Text设置它时,
Combobox
都是空
的
。但是,我已经将我
的
组合框设置为isEditable = True和ReadOnly = True,而且这个方
浏览 1
提问于2016-10-13
得票数 0
回答已采纳
1
回答
DataGrid
中
的
WPF
ComboBox
不
显示
选定
的
值
、
、
、
、
我有一个包含template
列
和
combobox
的
datagrid
。我还有另一个不在
datagrid
中
的
combobox
</
ComboBox
> 现在奇怪
的
事情和问题是,在这种情况下,<e
浏览 1
提问于2011-02-14
得票数 1
2
回答
通过数据绑定动态地将
DataGrid
列
设置为
ComboBox
列
、
、
、
、
我有一个绑定到
DataGrid
的
DataTable,我称之为"GridCollection“: </
DataGrid
> 我希望能够动态更新
DataGrid
列
单元模板以
显示
组合框。我试图通过添加一个绑定到DataTrigger
列
的
属性(“DataTable”)
的
DataTable来实现这一点,然后相应地更新组合框
的
可见性。我
的
理解是,本例<e
浏览 7
提问于2017-08-11
得票数 0
回答已采纳
1
回答
使用
DataGrid
对
ComboBox
进行过滤
、
我正在尝试使用
DataGrid
来过滤
ComboBox
中
的
数据。<Grid> <
DataGrid
.Columns >> </Grid>/
浏览 1
提问于2017-06-06
得票数 0
回答已采纳
1
回答
当选择行时,如何将所有
DataGrid
ComboBoxCells
显示
为ComboBoxes?
、
、
我已经创建了一个
DataGrid
,用户必须在每个行
中
的
两个组合框中进行选择(参见img )。现在我想让这个“更整洁”。让我举个例子来解释。用户必须在
列
类别和大小中选择一个值。这些
列
是组合框。单击第一次选中行时(请参见img )。添加这一点,我想将组合框
显示
为实际
的
组合框。但是从图片上看,它们仍然是空
的
文本框。注意:类别组合框将得到值
的
静态列表,大小组合框将根据类别组合框
的
选择获得一个特定<em
浏览 1
提问于2020-03-23
得票数 0
回答已采纳
2
回答
DataGrid
:帮助访问CellEditingTemplate
中
定义
的
控件
、
、
、
我正在使用带有DataGridTemplateColumn
的
WPF
DataGrid
。DataGridTemplateColumn.CellEditingTemplate包含IsEditable设置为“”true“”
的
ComboBox
。“在我
的
RowEditEnding事件处理程序
中
,我想读取该
ComboBox
的
Text属性-唯一
的
问题是我不知道如何在事件处理程序
中
检索
ComboBox
实例来访问Te
浏览 0
提问于2009-04-10
得票数 2
1
回答
ComboBoxItem
的
“内联集合”在DataGridComboBoxColumn
中
、
、
说: <
DataGrid
> <DataGridComboBoxColumn&g
浏览 0
提问于2016-04-29
得票数 4
1
回答
不同类型
的
DataGrid
中
绑定
ComboBox
的
SelectedItem
、
、
、
、
我有一个包含
ComboBox
作为
列
的
DataGrid
。 假设
DataGrid
有ItemsSource作为ObservableCollection,
ComboBox
ItemsSource是List。我要根据
DataGrid
ItemsSource
中
的
属性设置
ComboBox
SelectedItem属性。但是,Product类具有类型为int而不是ProductType
的
属性ProductTypeI
浏览 1
提问于2013-05-23
得票数 4
回答已采纳
1
回答
如何在WPF
中
创建一个带有
DataGrid
下拉菜单
的
ComboBox
?
、
、
、
、
我正在试着在WPF中装配一个带有
Datagrid
下拉菜单
的
ComboBox
。我需要
的
代码要以编程方式完成,并包含在代码背后。这是我到目前为止所得到
的
: Dim dg As New
DataGrid
dg.Columns.Add(col_startdate) cb.Items.Add(
浏览 2
提问于2012-01-05
得票数 0
回答已采纳
1
回答
WPF +获取datagridview
的
值
、
、
<DataTemplate x:Key="CustomLimitationTemplate"> <
ComboBox
> <ComboBoxItem>Totale</ComboBoxItem> </
ComboBox</em
浏览 0
提问于2015-11-03
得票数 0
1
回答
样式DataGridTemplateColumn与DataGridComboBoxColumn匹配
、
、
、
、
编辑(需求澄清) 我有一个
DataGrid
,如下所示。“要存储旧EmpNo
的
字段名”
列
中
的
值根据“新建EmpNo规则”
列
中选择
的
值进行更改。为了适应这种情况,
DataGrid
ItemsSource
中
的
每个项都有自己
的
TableNameForOldDataCollection。如果没有,我想知道是否可以模板DataGridTemplateColumn/
ComboBox
来匹
浏览 4
提问于2016-09-20
得票数 2
1
回答
Flex -想要为
DataGrid
中
的
最后一
列
设置不同
的
dataProvider
、
、
、
我在Flex
中
呈现了一个有四
列
的
DataGrid
。
DataGrid
的
dataProvider是XMLListCollection。我已经把这一切都搞定了。但是,在最后一
列
中
,我通过将该特定
列
的
DataGridColumn
的
itemRenderer设置为自定义
ComboBox
来
显示
ComboBox
。
DataGrid
的</e
浏览 1
提问于2015-07-21
得票数 0
点击加载更多
相关
资讯
用wpf开发自定义控件 包含下拉列表和表格及分页
Python学习笔记8——汇率计算器
利用VBA实现工作表数据的动态查询
选择一个少一个,这样的下拉菜单才够拽
[windows] 倒计时小工具
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券