Thanks Gerry. I realised as soon as I pressed the button I had missed some important information :-(
I have a base control, looks like a ComboBox and of course I can access all the properties in that. The Button it contains has an associated ImageList.
I then have a File/Folder picker derived from that base control and want to access the ImageIndex of the Button in the derived control using the same editor that Button itself uses. I have made some progress:
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Browsable(true), Description("The Image Index for the button"), DefaultValue(0)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.ImageIndexConverter))]
public int ImageIndex
{
get { return btnPick.ImageIndex; }
set { btnPick.ImageIndex = value; }
}
This does provide a drop down picker in the IDE properties window but it's empty!
I think I need an [Editor...] attribute but don't know which one is appropriate.