如何在同一列表视图中选择更改combox时启用放置在列表视图中的复选框 [英] how to enable the checkbox which is placed inside a listview while the selection change of the combox inside the same listview

查看:66
本文介绍了如何在同一列表视图中选择更改combox时启用放置在列表视图中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





请帮帮我。





我有listview在listview中我有一些数据和控件。控件是组合框和复选框。控件放在listview中使用xaml中的数据模板方法。



当组合框选择发生变化时我想启用复选框。





例如。

我有一些组合框,其中包含一些值,如激活,未激活等等。当我选择激活时我想启用复选框。



这个我是一个跳跳虎但是不可能把目标称为跳跳器里面的复选框。



或者是否有任何其他方法或者我们是否可以在cs内部进行.combobox值是从数据库绑定的。所以我们也可以通过使用等于1的绑定值来检查它。请帮帮我

hi

Please help me.


I have listview Inside the listview I have some datas and controls.the controls are combobox and checkbox. control are Placed inside the listview using data template method in xaml.

when the combobox selection change occur I want to enable the checkbox.


For eg.
I have combobox with some values like active, not activate ,etc.when I select active I want to enable checkbox.

for this I wirte a tigger but its not Possible to call the target as checkbox inside that tigger.

or is there any other method or whether we can do inside cs .combobox value is binded from database.so we can also check it by using that binding value equal to 1 also . please help me

推荐答案

这篇关于如何在同一列表视图中选择更改combox时启用放置在列表视图中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆