J
Jimmy V
Hey guys and gals,
I am creating a composite control and need to expose the ImageList and
all related properties of a label in this control; I do not want to
expose the entire label. What I am looking for is a way to get the
ImageKey and ImageIndex properties to behave the same as they do with
the base label control, i.e. I want to a drop down with the available
values in the ImageKey and ImageIndex in the property window when a
user adds the control to their form. Any ideas on how I can expose
these properly? I want them to have the same return types as their
respective values. Am I missing something very easy or is this a more
involved problem?
Thanks,
Jimmy V
I am creating a composite control and need to expose the ImageList and
all related properties of a label in this control; I do not want to
expose the entire label. What I am looking for is a way to get the
ImageKey and ImageIndex properties to behave the same as they do with
the base label control, i.e. I want to a drop down with the available
values in the ImageKey and ImageIndex in the property window when a
user adds the control to their form. Any ideas on how I can expose
these properly? I want them to have the same return types as their
respective values. Am I missing something very easy or is this a more
involved problem?
Thanks,
Jimmy V