Multiple instances of myViewItemUserControl, in one SmartClient.

// The selected myViewItemUserControl.

// class myPropertiesUserControl : PropertiesUserControl

From code in myPropertiesUserControl, I would like to reference

the selected myViewItemUserControl…

What I think the answer is, is a way to do something like this…

myViewItemUserControl.InstanceList.SelectedViewItemUserCtrl.labelXyz.Text

Please look at the RGBEnhancement plugin sample.

The PropertiesUserControl uses the ItemManager to save the “value”.

The ViewItemUserControl read the configured “value”.

This is the design generally used by Milestone..