腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
在
ListView
中使用DataTemplates从选择项中获取样式
c#
、
wpf
//
wpf
code (basic) <
ListViewItem
Tag="aTag" Content="A"/>现在,当我试图在其中包含一个DataTemplate时,我不能使用相同
的
方法来
访问
wpf
中
的
数据。/
浏览 0
提问于2018-06-15
得票数 0
回答已采纳
2
回答
如何
更改特定项目的第二列
c#
、
visual-studio
如何
更改脚本中特定项目的第二列 {item.SubItems[1].Text = "13"; } 错误CS1061 '
ListView
‘不包含'SubItems’
的
定义,并且找不到接受类型为'
ListView
‘
的</
浏览 1
提问于2016-10-09
得票数 0
2
回答
在我
的
ListView
控件中,有没有一种方法可以让我获得一个被点击
的
项目的索引?
c#
、
listview
这个问题很直接,但我找不到解决
的
办法。 当用户双击我
的
ListView
中
的
项目时,我希望保存所单击项目的索引号。
浏览 1
提问于2009-11-11
得票数 0
回答已采纳
1
回答
如何
在
WPF
中选择DataGrid行并在不同
的
文本框中显示各列
wpf
、
database
、
datagridview
、
textbox
我是一个学习
WPF
的
初学者,Visual 2010。我有一个DataGridView (绑定到MS数据库)Private Sub TasksDataGrid_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Input.MouseButtonEventArgs我很想听听你
的
浏览 1
提问于2014-02-03
得票数 0
回答已采纳
2
回答
将函数绑定到动态创建
的
元素
c#
、
wpf
只是一个简单
的
问题。我正在从事
WPF
项目(使用c#)。 { textBox1.Text = item.Content.ToString(); 现在,如果我在c#中创建另一个
Listvi
浏览 2
提问于2014-03-26
得票数 0
回答已采纳
1
回答
WPF
ListView
:带图标和没有图标的项
wpf
、
listview
、
icons
、
listviewitem
如何
在
WPF
中创建
ListView
,使某些ListViewItems有图标,而有些则没有图标?我想实现
ListView
,如下图所示。我也需要给予没有图标的项目略高于图标项目的图标。<
ListView
> <<em
浏览 1
提问于2013-11-24
得票数 0
回答已采纳
2
回答
列表视图取消选择C#地铁
c#
、
listview
、
microsoft-metro
如何
在C# Metro应用程序中取消选择列表视图
的
所有值?我通过对象浏览器和在线搜索都没有找到任何东西。提前感谢!
浏览 2
提问于2012-07-29
得票数 2
回答已采纳
1
回答
wpf
在初始化时返回null
c#
、
wpf
、
listview
、
listviewitem
这个问题似乎应该有一个非常琐碎
的
答案,但我似乎不知道在我
的
程序是怎么回事。myListView.Items.Add("one");现在我正在尝试
访问
ListView
中
的
第二个
ListView
.
ListViewItem<
浏览 1
提问于2018-03-16
得票数 1
回答已采纳
1
回答
如何
获得与列表视图数据模板中
的
复选框相关联
的
值?
c#
、
wpf
、
listview
、
checkbox
我正在尝试获取“所选”复选框
的
值/内容,以便我可以使用它从后端
的
sqlite数据库中获取数据。但是,我无法从列表视图中获得复选框
的
值。这是列表- ItemsSource="{<CheckBox x:Name="CheckBoxZone"
浏览 0
提问于2019-08-19
得票数 1
回答已采纳
2
回答
绑定DataView时
如何
删除
ListViewItem
wpf
、
listview
、
dataset
、
dataview
、
listviewitem
当
ListViewItem
设置为
ListView
时,
如何
从
WPF
ItemsSource中删除选定
的
DataView?我可以获得所选
的
ListViewItem
,然后
如何
删除DataView中
的
实际行?DataView dv = (DataView)myListView.ItemsSource;
ListViewItem
lvi = (
ListViewItem
)myListView.ItemConta
浏览 25
提问于2009-10-24
得票数 1
1
回答
当鼠标悬停在列标题上时,滚动
ListView
c#
、
.net
、
wpf
、
listview
、
scroll
我有以下
WPF
窗口: xmlns="http://schemas.microsoft.com/winfx/2006Name" Width="120" /> </
ListView
.View> <<em
浏览 3
提问于2019-10-02
得票数 2
回答已采纳
3
回答
ListView
:从
ListViewItem
获取一个实际
的
项对象
c#
、
wpf
、
listview
我正在将自己类
的
项添加到
ListView
(列表视图已经适当地设置了绑定):我有一个MouseDoubleClick处理程序,它获取被单击
的
ListViewItem
:{
ListViewItem
item = FindVisualParent<
Li
浏览 1
提问于2014-02-23
得票数 3
回答已采纳
1
回答
如何
在GridViewColumn中使用Click事件
c#
、
wpf
在
WPF
中,
如何
在单击GridViewColumn时触发事件? 我有很多这样
的
GridViewColumns;我希望当用户单击它时,显示一个更新表单来更新一些数据。
浏览 3
提问于2013-07-30
得票数 0
1
回答
如何
在
WPF
中向多列数据绑定
ListView
添加数据
wpf
、
visual-studio-2010
、
listview
、
c#-4.0
如何
在
WPF
中将数据添加到多列数据绑定
ListView
?下面是
ListView
的
代码 </
ListView
> 我用谷歌搜索了很长一段时间,但没有找到任何有用<
浏览 1
提问于2010-11-22
得票数 0
1
回答
如何
删除
WPF
ListView
中
的
项目左边距?
wpf
、
listviewitem
我在
WPF
中创建了一个非常简单
的
ListView
。我该怎么做呢? <
ListView
.View> <GridViewColumn Header="Company" /> <
浏览 7
提问于2022-02-16
得票数 0
1
回答
如何
用ControlTemplate设计
ListViewItem
的
样式?
wpf
、
listview
、
binding
、
controltemplate
我是
WPF
的
新手,绑定和样式
的
整个世界让我很困惑。我已经为
ListViewItem
创建了一个默认ControlTemplate
的
副本: <ControlTemplate x:Key="ListViewItemControlTemplate1</ControlTemplate>然后在我
的
ListView
中有列,例如
浏览 3
提问于2018-11-18
得票数 0
1
回答
从
ListView
拖动项目
.net
、
wpf
、
listview
、
drag-and-drop
如何
从
WPF
ListView
启动拖放操作? If lstview.SelectedItem IsNot Nothing Then End If正如预期<em
浏览 1
提问于2013-11-18
得票数 0
回答已采纳
1
回答
如何
从XAML中
的
ListView
DataContext中引用
ListView
.ItemTemplate?
c#
、
wpf
、
xaml
、
listview
、
data-binding
我有一个
ListView
,它
的
DataContext设置为我
的
ViewModel。
ListView
.ItemsSource设置为ViewModel
的
集合属性。我需要一种从MyIndex
的
ItemTemplate中
访问
XAML‘
ListViewItem
’
的
方法,这样我就可以根据MyIndex
的
值更改每个
ListViewItem
的
各个方面。我不能使用TemplatedParent,然后
浏览 2
提问于2016-11-03
得票数 1
回答已采纳
1
回答
如何
在
ListView
SelectedItem中创建样式?
wpf
、
listview
、
styles
我正在做一个
WPF
应用程序,我想在
ListViewItem
上做样式。我已经为此做了一个风格,但这并没有给我确切
的
结果,我想要
的
。除此之外,我想在这种风格
的
CornerRadius,所以我
如何
才能添加这个?<
ListView
x:Name="MenuBarList" Height="{Binding>
浏览 0
提问于2011-11-16
得票数 5
回答已采纳
1
回答
从填充了
ListView
的
GridViews中获取特定列
的
值
c#
、
wpf
、
listview
我在找一些我正在写
的
WPF
窗口
的
帮助。我想从一个非常混乱
的
ListView
中获取特定列
的
值。以下是XAML: <
ListView
Name="
listViewItem
" ClipToBounds="True" VerticalContentAlignment="Stretch><
浏览 2
提问于2017-10-25
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券