Hi,
I am trying to create a custom user control, which has a DateTime array as a property. When I compile the control and add the user control to a form, the DateTime array property is browsable and the DateTime Collection Editor appears, but when I add to the collection, it doesn't reflect on the property window, i.e., there is no value. Is there an attribute I need to add to the property of the user control?
Another question is, how do I restrict the height of the user control only at design time, like the datetimepicker control?
Thanks in advance.
Regards,
Russ
I am trying to create a custom user control, which has a DateTime array as a property. When I compile the control and add the user control to a form, the DateTime array property is browsable and the DateTime Collection Editor appears, but when I add to the collection, it doesn't reflect on the property window, i.e., there is no value. Is there an attribute I need to add to the property of the user control?
Another question is, how do I restrict the height of the user control only at design time, like the datetimepicker control?
Thanks in advance.
Regards,
Russ