腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(6464)
视频
沙龙
1
回答
DataGridTemplateColumn
获取
单元格
的值
c#
、
wpf
、
datagrid
、
wpftoolkit
、
datagridtemplatecolumn
我使用的是
WPF
工具包中的
WPF
DataGrid
。有谁有什么想法吗?
浏览 2
提问于2009-12-21
得票数 2
回答已采纳
1
回答
获取
SelectedCellsChanged事件中当前
单元格
和下一个
单元格
的值
c#
、
wpf
、
datagrid
我有一个使用MVVM模式的
WPF
数据网格。当焦点
从
当前
单元格
改变时,我需要
获取
当前
单元格
和相邻
单元格
的值。这是我的XAML <
DataGrid
x:Name="dgOptions" Grid.Row="1" SelectedCellsChanged="dgOptions_SelectedCellsChanged> </materialDesign:
DataGridTem
浏览 98
提问于2020-01-17
得票数 0
回答已采纳
2
回答
WPF
在TextBlock中全局设置
DataGrid
样式
wpf
、
c#-4.0
、
wpfdatagrid
我正在尝试将全局样式应用于
DataGrid
中的几个控件。他们中的大多数都和我所期望的完全一样。但是,TextBlock的样式从未被应用过。<
DataGrid
ItemsSource="{Binding Data}" AutoGenerateColumns="False"> <
DataGrid
.Columns> <
DataGridTemplateColum
浏览 4
提问于2012-10-03
得票数 15
回答已采纳
2
回答
DataGrid
中的DatePicker会一直隐藏,直到您双击它
c#
、
wpf
、
datagrid
、
datepicker
我正在使用.NET 3.5,
WPF
。 <WPFToolkit:
DataGrid
Name="dgCustomPermPopup" A
浏览 3
提问于2012-03-01
得票数 0
2
回答
在
DataGrid
(
WPF
)中的DataCell旁边显示新窗口
wpf
、
wpf-controls
、
wpfdatagrid
我想要一个场景,当用户在
WPF
的
DataGrid
中单击一个
单元格
时,我想打开它旁边的NumPad (这基本上是基于触摸的输入)。我所理解的NumPad是一个单独的窗口。1)如何知道被选中的是哪个
单元格
3)如何找到
单元格
的坐标来定位我的NumPad? 4)如何根据NumPad条目设置
单元格
的值?NumPad是同一应用程序中的一个
WPF
用户控件。
DataGrid
是一个.NET 4控件。它是一个普通
浏览 2
提问于2011-02-24
得票数 1
1
回答
WPF
DataGrid
CancelEdit
WPF
c#
、
wpf
、
datagrid
、
user-controls
我被困在一个似乎是基本的
DataGridTemplateColumn
问题上。如何
从
DataGrid
?中通知CancelEdit?<
DataGrid
AutoGenerateColumns="False&q
浏览 4
提问于2015-09-12
得票数 0
1
回答
按用户键入的方式格式化
DataGrid
列
c#
、
wpf
、
user-interface
、
datagrid
我有一个
DataGrid
,其中列的
内容
是一个简单的DataGridTextColumn。我想做的是,当用户在
DataGrid
中的行中输入时,只允许他们输入特定的格式,在本例中是dd/MM/yyyy。
浏览 5
提问于2016-04-13
得票数 1
回答已采纳
1
回答
如何绑定控件中行的颜色:通过绑定UWP C#中该行中的列的值来绑定
DataGrid
?
c#
、
uwp
、
uwp-xaml
我使用controls:
DataGrid
在UWP中显示DataTable的值。我试图根据DataTable的" color“列中的值绑定行的颜色。<controls:
DataGrid
.RowStyle> <Setter Property="Background" Value="{Binding ColumnForColorInDataTable}"
浏览 3
提问于2019-08-28
得票数 3
回答已采纳
1
回答
将复选框拉伸至
单元格
大小
wpf
、
xaml
、
datagrid
我正在使用
WPF
和有复选框列的
DataGrid
。问题是我想让复选框伸展并填充
单元格
这是我的XAML: <Controls:
DataGrid
ItemsSource="{Binding Persons}" AutoGenerateColumnsName}"/> <Con
浏览 0
提问于2011-09-25
得票数 5
回答已采纳
2
回答
WPF
DataGrid
从
DataGridTemplateColumn
获取
单元格
内容
c#
、
wpf
> </
DataGrid
.Columns>string ID = dgridTenderInventory.SelectedCells[0].Column.Ge
浏览 23
提问于2019-07-03
得票数 2
回答已采纳
3
回答
C#在列表中显示图像和文本
c#
、
listview
c#中有没有什么控件可以让我们用图片、格式化文本和图标来创建某种列表视图,就像安卓中的联系人一样?我找到的最接近的是:2) http://www.trymasak.my/sample/iphone2.jpg
浏览 1
提问于2012-05-17
得票数 0
回答已采纳
2
回答
如何禁用某些
DataGrid
单元
c#
、
wpf
我使用一个
DataGrid
在我的
WPF
应用程序中显示一些数据。 我怎样才能禁用电池?
浏览 3
提问于2013-12-03
得票数 0
回答已采纳
1
回答
如何隐藏完整的
DataGrid
行?
c#
、
wpf
、
visual-studio
、
xaml
、
datagrid
我有一个
DataGrid
,我
从
其中添加和删除项。这是我目前的代码: <
DataGrid
.Columns> <
DataGridTemplateColumn
.CellTemplate>
浏览 0
提问于2017-07-07
得票数 0
回答已采纳
1
回答
在
WPF
DataGrid
中将
单元格
高度调整为图像
单元格
高度
wpf
、
datagrid
在
WPF
中,当使用
DataGrid
时,我有一个图像和各种文本字段。当我选择一行时,选择看起来很难看,因为文本
单元格
高度是相同大小的,但是与图像不同,图像是动态的,这取决于图像的网格列宽度。换句话说,选择的蓝色背景颜色在图像
单元格
上相当大,就像我在下面的图像中显示的那样:
DataGrid
现在正在构建,所以非常简单。我只是不确定最简单、最干净、最简单的代码方法(如果有
WPF
!)。<DataGridTextColumn Header="Product Name&qu
浏览 3
提问于2014-05-18
得票数 0
回答已采纳
1
回答
在
Wpf
中更改
DataGrid
中行的颜色
c#
、
wpf
、
xaml
、
datagrid
更改
DataGrid
行的颜色有问题,我使用以下函数private void gvDados_LoadingRow(object sender, DataGridRowEventArgs
浏览 3
提问于2017-09-26
得票数 1
回答已采纳
1
回答
从
DataGrid
的CellTemplate看GetTemplateChild在成本控制中的应用
c#
、
wpf
、
datagrid
、
custom-controls
我有一个带有以下
DataGrid
的
wpf
c# customControl。我想在DataTemplate中获得边框,因为我可以使用
DataGrid
和
DataGridTemplateColumn
在{") as Border; &
浏览 2
提问于2013-11-28
得票数 0
1
回答
DataTemplate和ObjectDataProvider刷新问题
wpf
、
datagrid
、
combobox
、
templates
、
objectdataprovider
我在编辑
WPF
数据网格(
WPF
Toolkit)中的
单元格
模板时遇到问题。使用ComboBox构建模板,并在运行时加载ComboBox的ItemsSource。</toolkit:
DataGridTemplateColumn
></toolkit:
DataGrid
> 现在,我遇到了这个问题。然后,我在
datagrid
的selectionchanged事件上插入了一个重置dataValuesProvider (data
浏览 6
提问于2009-11-24
得票数 0
1
回答
如何
从
DataView中
获取
值?
c#
、
wpf
、
data-binding
、
datagrid
、
dataview
> </
DataGrid
.Columns> seznam.ItemsSource= v.tabela.dt.DefaultView; 我的问题是,当用户单击保存按钮时,我试图
从
DataGrid
中
获取
数据,但它没有
从
datagrid
中
获取
当前
浏览 0
提问于2016-06-26
得票数 0
1
回答
WPF
数据
单元格
文本包装
wpf
、
xaml
、
datagrid
、
resourcedictionary
当我试图在
单元格
上使用相同的技术时,绑定似乎不起作用,但包装起作用。我读过下面的文章,但似乎每次我都需要在放置数据集之后设置样式。它不能在资源字典中完成吗?或者我在错误的地方应用包装?Text="{Binding}" /> </Setter.Value></Style> 下面是不起作用的
单元格
样式(包含
内容
模板的图片1
浏览 3
提问于2017-11-15
得票数 2
回答已采纳
2
回答
即使在验证触发时,
WPF
DataGrid
中的取消编辑模式
wpf
、
wpfdatagrid
、
wpftoolkit
、
idataerrorinfo
对于
wpf
来说,我是新手,我需要使用
WPF
DataGrid
,它的ItemSource设置为ObservableCollection类型的模型,其中ObservableCollection实现了IDataErrorInfo我面临的问题是,如果Model返回任何属性的验证字符串,那么用户无法退出
单元格
的编辑模式,我尝试回滚&我甚至尝试了CancelEdit,但我无法退出编辑模式。我在msdn上搜索,发现了它的
DataGrid
属性之一,但由于某些应用程序的需求,我也需要这样做。在“评论”中说 在验证
浏览 2
提问于2013-12-07
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
带省略号的WPF文本框
Qt更新专辑:CukeTest发行说明
Python3之excel操作-openpyxl模块
WPS Excel:函数提取各种各样的字符串
win32com操作word 第十六 表格的各种操作
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券