List Property in Designer

F

Ferdinand Zaubzer

Hello!

I have the following problem:

I have a base Form with some general functionality and I want to create
several derived Forms from it.
The base Form contains a List - in particular a List of BindingSources -
and in the derived Forms I want to add some BindingSources (that are
components of the derived Form) to this List defined in the Base form.

Is there any possibility to achieve this with the designer?

In fact the list shows up in the property list of the designer of the
derived Form, and I can add Items, but obviously no code gets serialized
for the Items added via the Designer.

Thanks in advance
Ferdinand
 
F

Ferdinand Zaubzer

I was too quick with posting that question

The answer is:
Setting the DesignerSerializationVisibility Attribute to
DesignerSerializationVisibility.Content for the List Property of the
base Form solved the problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top