tags:

views:

11

answers:

0

Can anyone explain the basics of developing a control (containing a specific type of child control) where child controls can be managed through the Control.Items property and adjust selection through Contorl.Items.SelectedItem.

I've considered that the control I've written would be best used as such a child control (many instances will exist but effectively as a list and when a particular one is selected I'll apply a visual change). I've seen the Control.Items.SelectedItem approach used in other Controls and it seems like a good, intuitive approach (and helps hide what's going on underneath)

I'm fairly new to winforms development so sorry if the question sounds a bit noobish. Any advice/assistance would be greatly appreciated.