我知道如何通过使用此属性来防止属性显示在属性网格中
[Browsable(false)]
但我想阻止仅当在属性网格中选择超过 1 个对象时才浏览此属性。
I mean that when only one object is selected in the property grid this property will be shown but when 2 or more objects are selected this property won't be browsable!
我知道如何通过使用此属性来防止属性显示在属性网格中
[Browsable(false)]
但我想阻止仅当在属性网格中选择超过 1 个对象时才浏览此属性。
I mean that when only one object is selected in the property grid this property will be shown but when 2 or more objects are selected this property won't be browsable!