属性网格:如何根据另一个属性中的值更改将下拉值绑定到一个属性? [英] Property Grid: How to bind dropdown values to one Property based on value change in another property?

查看:95
本文介绍了属性网格:如何根据另一个属性中的值更改将下拉值绑定到一个属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Property Grid。当另一个属性的值发生变化时,我需要将一些下拉值绑定到属性。



例如,如果State属性更改为孟买,我需要在区财产中显示孟买的所有地区。请帮帮我。

Hi,
I am working with Property Grid. I need to bind some dropdown values to a property when there is a change in value in another property.

For example, If the "State" property is changed to "Mumbai", i need to show all the districts in Mumbai in "District" property. Please help me on this.

推荐答案

这篇关于属性网格:如何根据另一个属性中的值更改将下拉值绑定到一个属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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