腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
垂直滚动时如何确定工作台的位置。将位置固定在y轴上,在x轴上可滚动
、
、
在滚动时,我需要修复用作标题的表的位置。当数据表的数据单元格宽度保持不变时,我试图实现数据表的水平和垂直滚动功能。现在的问题是,每当我试图修复用于标头的表的位置时,它就不会使用水平滚动。我只想修复顶部的标题表,同时垂直滚动,但它应该水平滚动。table { border-collapse: collapse; display: block; white-space: normal;}
浏览 3
提问于2017-07-20
得票数 2
回答已采纳
2
回答
如何在wpf中完全删除
datagrid
的标头?
、
我试过了: <Style TargetType="{x:Type DataGridColumnHeader}"> </Style>但是这只会改变内容的大小,但是网格仍然会为标题显示一行。如何防止
DataGr
浏览 16
提问于2013-07-10
得票数 3
回答已采纳
1
回答
从样式中将项添加到集合
、
<Grid.Resources> <Setter Property="IsReadOnly" Value="True"CommandParameter="{Binding SelectedItem}" />然而,这一点: <Style TargetTy
浏览 2
提问于2020-01-07
得票数 0
2
回答
Wpf
DataGrid
问题
、
Button Content="Button" Name="button2" VerticalAlignment="Center" Width="75" /> <
DataGrid
Binding Path=KittensView}" AutoGenerateColumns="True" Grid.Row="1" HorizontalAlignment="S
浏览 1
提问于2011-09-14
得票数 7
回答已采纳
1
回答
银光中的e.DetailsElement
、
datagrid
= sender as
DataGrid
; }} } {
DataGrid</
浏览 1
提问于2010-05-25
得票数 0
回答已采纳
1
回答
如何确定WPF
DataGrid
是否处于编辑模式?
、
、
、
、
可能重复: 是否有方法确定WPF
DataGrid
是否处于编辑模式/当前正在编辑哪一行?
浏览 1
提问于2010-07-19
得票数 6
回答已采纳
1
回答
如何删除对所有DataGrids的选择?
、
、
> <
DataGrid
/></StackPanel> 每个
DataGrid
绑定不同的ItemSource,每个
DataGrid
我需要做的是从所有的Selection中删除
DataGrid
,但单击的
DataGrid
除外。Get the
DataGrid
selected by the
浏览 5
提问于2017-12-18
得票数 0
回答已采纳
2
回答
如何动态地重新排序数据网格中的列?
、
当我使用以下命令时,它会起作用:tempColumnOld = Me.
DataGrid
.Columns(newColIndex) Me.
DataGrid
.Columns.RemoveAt(newColIndex)
浏览 2
提问于2010-07-28
得票数 0
回答已采纳
2
回答
在c#中使用xeed
datagrid
将焦点更改到下一个单元格
、
、
基本上我们使用的是Xeed
datagrid
,它有4列。数据与集合对象绑定,并通过DB调用动态更新。我的问题在4列中,有1列是可编辑的。private void _
dataGrid
_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) if (e.Key == Key.Enter) _
dataGrid
.EndEdit(); curr
浏览 1
提问于2011-08-31
得票数 0
1
回答
RowDetailsTemplate ItemSource绑定到EF NavigationProperty
、
、
、
我有一个
DataGrid
of Person对象,它的RowDetailsTemplate中有另一个
DataGrid
,它包含被选中的人的职务,我使用EntityFramework来生成DataContext为了用RowDetails
DataGrid
填充selectedPerson's works,我将其( RowDetailsTemplate) itemSource绑定到Person类的导航属性(由EF(当我使用即时窗口检查SelectedPerson.PersonWork时,它包含记录)<
浏览 4
提问于2014-11-25
得票数 0
回答已采纳
2
回答
c# xaml -数据网格不显示我设置的列
、
、
、
这是我的密码: <
DataGrid
ItemsSource="{Binding x}"> <DataGridTextColumn Header="Account" Binding="{Binding x}"/> </<em
浏览 4
提问于2017-07-20
得票数 1
回答已采纳
2
回答
如何在单击另一个
DataGrid
时失去对
DataGrid
的关注?
、
、
、
我使用的是MVVM,当我单击另一个
DataGrid
时,我需要失去焦点,所以我只在一个
DataGrid
中选择了一行。或者如果可能的话,当我点击DataGrids外部时,会失去焦点吗?但是,当我想单击
DataGrid
中选定行的编辑按钮时,它也会失去焦点吗?this.SelectedItem = null;这是我的OnLostFocus,但我不知道如何捕捉xaml中的点击(我真的是xaml中的新手) 更新:我是否可以使用样式触发器将焦点从一个
DataGrid
浏览 2
提问于2015-09-23
得票数 2
回答已采纳
3
回答
是否将单元格大小更改为WPF
DataGrid
?
、
、
是否可以更改WPF System.Windows.Controls.
DataGrid
的单元格大小? 比方说,我希望我的所有单元格的大小都是(100 X 50)。
浏览 0
提问于2012-04-18
得票数 1
5
回答
DataGrid
RowDetailsTemplate涡旋
、
、
<
DataGrid
> <DataGridTextColumn Binding="{Binding Path=test}"></DataGridTextColumn> <
DataGrid
.RowDetailsTemplate> <
DataGrid
浏览 9
提问于2014-05-07
得票数 4
回答已采纳
1
回答
如何在纯XAML中的
DataGrid
端手动添加按钮?
、
、
、
我有一个包含一些列的
DataGrid
: <DataGridTextColumn Header="Date" Binding="{Binding Date},Mode=OneWay}"></DataGridTextColumn></
DataGrid
.Columns> 我想在
DataGrid</em
浏览 1
提问于2015-02-17
得票数 2
回答已采纳
1
回答
如何在按钮上滚动每个数据项,单击wpf
、
、
我有一个
DataGrid
和两个上下按钮,这样用户就可以在按钮单击上或下滚动每一项数据。我该怎么做呢?我试过SelectedIndex,但似乎不适合
DataGrid
。
浏览 3
提问于2013-08-07
得票数 0
回答已采纳
3
回答
阻止WPF 4.0
Datagrid
显示空列
、
、
、
、
我有一个包含1列数据网格的应用程序(目前)。如何从数据网格中删除第二个空列,以便只在数据网格中显示包含数据的列。
浏览 0
提问于2011-01-08
得票数 16
回答已采纳
1
回答
WPF
DataGrid
RowDetails -将内部
DataGrid
绑定到外部
DataGrid
的父DataRow
、
、
、
、
我有以下
DataGrid
: ItemsSource="{Binding}" AutoGenerateColumns="false"> <DataTemplate> <StackPanel<
DataGrid<
浏览 0
提问于2016-07-03
得票数 1
回答已采纳
2
回答
DataGrid
上已处理的对象异常
、
、
、
下面是我的代码示例:public myForm() InitializeComponent();
dataGrid
.Font.Name = "Tahoma";
dataGrid
.BackgroundColor= Color.Azure;
d
浏览 0
提问于2012-12-05
得票数 0
3
回答
变异嵌套对象
、
steps = steps.map(step => { ...step, } };{
dataGrid
: { }
浏览 0
提问于2018-03-06
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
即时通信 IM
云直播
云点播
活动推荐
运营活动
广告
关闭
领券