manage properties in PropertiesWindow

A

arg

For example I have properties:

b1 bool;
b2 bool;

[Browsable(true),Category("Test")]
public bool B1
{get{return b1;} set{b1 = value;}}

[Browsable(true),Category("Test")]
public bool B2
{get{return b2;} set{b2 = value;}}

How I can make B2 read-only or invisible in Properties Window
when B1 value is seted true and vice versa when for B1 is seted false
 
T

Teemu Keiski

Hi,

I think this kind of feature would require having a custom editor for the
properties in addition to putting that in effect in code (which you'd
probably want to do in any case).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top