腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(3712)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
WPF
CommandParameter
GridViewColumnHeader
我的问题是:可以使用GridViewColumnHeader作为
CommandParameter
吗?我有以下代码,我想使用单击的ColumnHeader作为
CommandParameter
: <GridViewColumn Width="Auto" DisplayMemberBinding="{Binding
浏览 2
修改于2015-05-04
得票数 1
回答已采纳
1
回答
将ListBox中的
CommandParameter
与ContextMenu中的
CommandParameter
绑定
到目前为止,我的所有绑定都在工作,但我需要使用在ViewModel中选择的项的
CommandParameter
为ListBox中的命令提供一个参数,以便命令知道要对哪个项进行操作。<MenuItem Header="Add Instrument" Command="{Binding Path=AddInstrumentToTest}"
CommandParameter
<MenuItem Header="Remove Instrument" Command="{Binding P
浏览 1
提问于2012-08-28
得票数 0
1
回答
WPF
CommandParameter
RelativeSource绑定
RelativeSource={RelativeSource AncestorType=ListView}}"
CommandParameter
浏览 59
提问于2019-06-04
得票数 0
回答已采纳
2
回答
RelayCommand
commandParameter
为空
我的用户控件上有一个按钮
CommandParameter
浏览 5
提问于2012-04-03
得票数 1
1
回答
CommandParameter
不在ListView工作
Margin="0,20,0,0"
CommandParameter
浏览 1
修改于2013-08-17
得票数 1
回答已采纳
1
回答
wpf SelectedIndex
CommandParameter
按钮的命令是ExcelExportCommand,它的
CommandParameter
类似于: <Button x:Name="ExcelExport" Grid.Row="1" Height="25"Width="100" Command="{Binding ExcelExportCommand}"
CommandParameter
="{Binding ElementName=ListTabControl
浏览 0
提问于2012-02-20
得票数 1
回答已采纳
2
回答
WPF
CommandParameter
绑定问题
<StackPanel>
CommandParameter
浏览 2
修改于2011-07-26
得票数 5
2
回答
用
CommandParameter
传递数据
我正试图通过UserName
CommandParameter
。
CommandParameter
="{Binding Path=UserName}"></Button>
浏览 1
提问于2012-11-06
得票数 1
回答已采纳
2
回答
命令和
CommandParameter
设计
假设你有一个控制媒体播放器的视图模型。它必须提供标准的控制功能,比如Star、Stop、Pause和Resume。第一种方法:每个动作都有自己的命令。- StartCommand - StopCommand - PauseCommand - ResumeCommand第二种方式:单个命令使用不同的命令参数。PerformActionCommand和一个如下所示的枚举{ stop, resume你认为哪种方式更可取?原因是什
浏览 3
提问于2012-09-24
得票数 0
回答已采纳
1
回答
在MVVM中接收
CommandParameter
值
我像这样绑定我的命令:
CommandParameter
="Hello" 在这里,我还绑定了它的
CommandParameter
属性,现在来看看如何从NextCommand中获取它的值。public ObservableCollection<PhonesViewModel> DisplayNextPageRecords()
浏览 1
修改于2009-10-14
得票数 14
1
回答
MenuItem +
CommandParameter
=空!为什么?
SharpTreeView.ContextMenu> <MenuItem
CommandParameter
编辑1
CommandParameter
="{Binding Path=UIElement.SharpTreeView.SelectedItems), RelativeSource={RelativeSource Ancestor
浏览 14
修改于2017-05-23
得票数 1
1
回答
将UIElement传递给
CommandParameter
Command="{Binding RedirectToViewRelayCommand}"> </i:InvokeCommandAction.
CommandParameter
浏览 2
提问于2018-07-05
得票数 3
回答已采纳
1
回答
每次新窗口为
CommandParameter
<local:MyViewModel/><Button Command="{Binding ShowSettingsCommand}"
CommandParameter
是否有方法在每次调用命令时以
CommandParameter
的形式传递新窗口?
浏览 1
提问于2015-08-11
得票数 2
回答已采纳
1
回答
从DataGrid获取
CommandParameter
按钮
> <Button Content="Usuń"
CommandParameter
浏览 4
提问于2017-01-13
得票数 0
回答已采纳
1
回答
支持MVVM Light的
CommandParameter
我正在尝试使用MVVM Light让RelayCommand与
CommandParameter
一起工作。该命令是在我的视图模型中定义的,我希望将所选的ListBox项作为参数传递。RelativeSource Self}}">
浏览 0
提问于2013-04-24
得票数 1
回答已采纳
2
回答
了解WPF绑定
CommandParameter
="{ Binding }“
也许这是一个愚蠢的问题,但我找不到答案:在下面的xaml中,
CommandParameter
绑定到什么?或者一般而言,"{Binding}"是什么意思?<Button Command="{Binding DataContext.DeleteCommand, ElementName=List}"
CommandParameter
="{Binding
浏览 2
修改于2014-04-24
得票数 40
回答已采纳
1
回答
特定字典元素如
CommandParameter
Interaction.Triggers> <i:InvokeCommandAction
CommandParameter
浏览 3
提问于2015-10-28
得票数 0
回答已采纳
3
回答
WPF
CommandParameter
绑定和canExecute
Horizontal"> <Button
CommandParameter
浏览 0
提问于2009-11-17
得票数 6
回答已采纳
1
回答
作为
commandParameter
的AttachedCommandBehaviour MouseEventargs
我可以像
CommandParameter
一样传递MouseEventargs吗?如何传递?CommandBehavior.Event="MouseDoubleClick" acb:CommandBehavior.Command="{Binding Command}" acb:CommandBehavior.
CommandParameter
浏览 3
修改于2017-05-23
得票数 2
回答已采纳
2
回答
使用MvxCommand与
CommandParameter
绑定
layout_height="wrap_content" local:MvxBind="Click MyCommand,
CommandParameter
layout_height="wrap_content" local:MvxBind="Click MyCommand,
CommandParameter
浏览 1
修改于2013-06-21
得票数 12
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券