10-18-2010 04:40 AM
I have two waveform plots and one Property editor component. When I check RadioButton1 I want to edit property of WaveformPlot1 ( change PropertyEditor source /object to WaveformPlot1 ), or when i check RadioButton2 I want to edit property of WaveformPlot2. How to change PropertyEditor source/object programmatically ? Thank you in advance.
10-19-2010 02:59 PM
MMozart,
I programmed an example of this and have uploaded it to our community site.
I used the following line of code to change the source of the property editor.
propertyEditor1.Source = new PropertyEditorSource(waveformGraph1, "Visible");
Here I was testing the functionality with an easily recognizable property, visible, but you could replace it with any other property you want to edit.