如何在ValueConverter中控制两个参数 [英] How To Control Two Parameter in ValueConverter

查看:139
本文介绍了如何在ValueConverter中控制两个参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我为对象的属性编写了一个值转换器.我正在控制一个属性,但是有一个新的状态.
我应该控制对象的另一个属性.如果此属性从0开始更高,那之后我应该控制之前控制的属性.
我的意思是,可以控制转换器中的两个值吗?还是可以用另一种方式表示这种情况?

Hi,
I wrote a value converter for a property of my objects.I was controlling one property but there is a new stuation .
I should control another property of the object. If this property is higher from 0 ,after that I should control the property which I controllled before.
I mean , is it possible to control two value in a converter ? Or Can I represent this situation in another way?

推荐答案

尝试以下链接:

Try these links:


这篇关于如何在ValueConverter中控制两个参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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