腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(1252)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
彩色
DataGridCell
DataGrid" SelectionUnit="Cell"> <Style TargetType="{x:Type
DataGridCell
浏览 1
修改于2015-03-12
得票数 1
回答已采纳
1
回答
将
DataGridCell
ToolTip属性值绑定到
DataGridCell
值
CanUserSort="False" <DataGridTextColumn.CellStyle> Width="*"> <Style TargetType="<em
浏览 0
提问于2014-12-11
得票数 9
回答已采纳
1
回答
MahApps
DataGridCell
风格
我在我的应用程序中使用MahApps库,数据单元格的默认样式没有任何边框:但我希望DataGrid看起来像这样:所以我开始说: <Setter.Value> <ControlTemplate TargetType="{x:Type
DataGridCell
Setter Property=&quo
浏览 3
修改于2018-02-02
得票数 3
回答已采纳
1
回答
ControlTemplate for
DataGridCell
我尝试为ControlTemplate创建一个
DataGridCell
,如下所示: <Setter Property="Template"> <ControlTemplate TargetType="
DataGridCell
" xmlns="http
浏览 2
提问于2013-09-20
得票数 1
回答已采纳
1
回答
TemplateBinding ReadOnly来自
DataGridCell
DataGridTextColumn Header="" Width="*"/></DataGrid><Style TargetType="{x:Type
DataGridCell
}"> <Trigger Property="
DataGridCell
.IsSelected&quo
浏览 1
修改于2015-07-24
得票数 0
回答已采纳
1
回答
DataGridCell
行指数
我找到了一种获取
DataGridCell
和DataGridCellInfo的方法,但是其中只有列索引。 如何获得行索引?我找不到办法得到它。
浏览 0
修改于2017-03-03
得票数 7
回答已采纳
2
回答
显示工具提示的
DataGridCell
模板
我想在
DataGridCell
上显示工具提示。到目前为止,我尝试了以下方法。但问题是,当我在
DataGridCell
上徘徊时,整个
DataGridCell
内容就会被删除。<Style TargetType="
DataGridCell
"> <Setter.Value> <ControlTemp
浏览 4
提问于2014-12-11
得票数 0
回答已采纳
2
回答
从
DataGridCell
获取控件
假设我在DataGridTemplateColumn中有一个任意控件,我希望知道如何获取该控件,因为我已经检索到了包含该控件的
DataGridCell
。我使用扩展方法检索
DataGridCell
,如下所示:静态类中包含的扩展方法可以在中找到问题是,一旦我获得了
DataGridCell
,我如何检索"PercentageEditor“?
浏览 0
修改于2011-05-24
得票数 9
回答已采纳
1
回答
基于
DataGridCell
属性的DataGrid风格
我想在基于该
DataGridCell
属性的自定义DataGrid的DataGrid中添加一个样式。例如,我希望有一个名为DependencyProperty的VisualizeReadOnlyCells,如果该属性设置为True,我希望用灰色背景绘制
DataGridCell
,即ReadOnly。作为解决办法,我为
DataGridCell
创建了两种不同的样式,并在CellStyle样式定义中将这些样式分配给DataGrid的CellStyle属性。我目前的解决办法是: <Style x:Key="DataGridCellNoV
浏览 2
提问于2017-10-16
得票数 1
回答已采纳
1
回答
DataGridCell
BorderBrush不工作
我试图设置
DataGridCell
BorderBrush,但看起来还有其他设置,这也设置了单元格之间的边框。当前Style: <Setter Property="
浏览 1
修改于2020-03-28
得票数 2
回答已采纳
3
回答
DataGridCell
.IsEditMode?
我怎么知道
DataGridCell
当前是否处于编辑模式(而不是IsSelected),我的意思是,例如,单击DataGridTextColumn单元格,它就变成了TextBox而不是TextBlock,编辑:,我试图为
DataGridCell
.IsEditing设置一个通用样式,但它似乎什么也不做。下面是我当前代码的一个片段: <Style.Triggers> <Trigger
浏览 7
修改于2009-12-29
得票数 2
回答已采纳
1
回答
WPF
DataGridCell
裕度
LeftTextCellStyle}" />应用于此数据网格的样式如下: <Setter.Value> <ControlTemplate TargetType="{x:Type
Dat
浏览 7
提问于2014-09-24
得票数 2
回答已采纳
1
回答
WPF DataGrid绑定
DataGridCell
内容
我有一个
DataGridCell
样式,希望将单元格的内容绑定到图像的源属性,下面是我目前正在使用的XAML: <Setter Property="Background" Value="Transparent" /> <SetterProperty="Te
浏览 2
提问于2010-08-17
得票数 4
回答已采纳
1
回答
正确设计
DataGridCell
样式
-- Green template for market-related --><ControlTemplate x:Key="LightGreen" TargetType="{x:Type tk:
DataGridCell
Binding="{Bin
浏览 3
修改于2017-05-23
得票数 5
回答已采纳
1
回答
DataGridCell
空集DbNull.value
我正在用数据集和I have my dataset verified for nullable values填充一个数据集-当数据集验证时,会找到空行,并且错误不会显示。我想用DBNull.value定义空单元格。有什么办法吗?我找到了一个名为TargetNullValue的属性,它可以工作吗?
浏览 3
修改于2012-06-28
得票数 2
回答已采纳
1
回答
WPF
DataGridCell
样式设置CurrentItem
如果只选择了一行,则此有效,但如果选择了多个行怎么办。
浏览 1
修改于2015-09-26
得票数 1
1
回答
如果出现错误,阻止
DataGridCell
失去焦点,并在
DataGridCell
上获取错误模板?
此外,虽然我可以显示行的验证模板,但我似乎无法为
DataGridCell
本身触发它。 <Trigger Property="Validation.HasError
浏览 1
修改于2015-09-17
得票数 1
1
回答
Wpf
datagridcell
datacontext不会保留
我想手动设置
DataGridCell
的DataContext,而不是像这样的样式:有什么方法可以抓到什么吗?我让
DataGridCell
inside DataGrid连接到CollectionViewSource,会有问题吗?CollectionView
浏览 7
提问于2014-08-27
得票数 1
1
回答
DataGridCell
获得绑定值
<Style TargetType="{x:Type
DataGridCell
}"> <Style.Triggers >
浏览 2
修改于2014-08-28
得票数 0
回答已采纳
1
回答
WPF - MouseDown通过
DataGridCell
上的AutomationPeer
我有以下在
DataGridCell
上引发MouseLeftButtonDownEvent的代码。
DataGridCell
dataGridCell
= cell as
DataGridCell
; new MouseButtonEventArgs(Mouse.PrimaryDevice, 0, MouseButton.Left); someEventArgs.RoutedEvent =
DataGridCell
.MouseL
浏览 3
提问于2011-12-19
得票数 1
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券