Inspector Behaviour

Is there a way to have the IDE inspector show property values based on another property?

something like this
assume a computed property of

Public Property isDarkMode as boolean
   Get
      Return zOptionIsDarkMode
   End Get
   Set
      zOptionisDarkMode=value
   End Set
End Property

Public Property getColor as Color
   Get
      Return IF(zOptionDarkMode,zOptionColor((0),zOptionColor((1))
   End Get
   Set
      zOptionColor(IF(zOptionDarkMode,0,1))=value
   End Set
End Property

So the IDE would show OptionColor(0) if isDarkmode were false, but OptionColor(1) if the user changed to true … and I mean at DESIGN TIME
Runtime is not a problem.

I want to be able to allow two palletes of colors to be set for Light and Dark mode, but without haveing the Inspector filled with duplicate color wells, there are NINE already… I don’t want to have 18 if at all possible

No - since the IDE does not run your code in order to make that work.

anyone have a good idea on how to present this type of situation?

I guess I could remove all of them from the Inspector, and require they be done in the control Open event