F
Fabian_20
Hello everybody,
sry for the bad title
.
I created an extended ListView with an extended ColumnHeader. If i add
a new ColumnHeader through the designer, it appears on the left side of
the editor and i can set my own properties. But when i click the
ok-button, the code ist not generated in the for example
Form1.Designer.cs file, so the Columns won't appear in the ListView
(not at designtime nor at runtime).
I searched many hours and i thought i found the solution by adding the
designer property "[DesignerSerializationVisibility(
DesignerSerializationVisibility.Content )] ", but this wont work for
me. I don't know, what i do wrong.
Can anyone help me with this problem, show me code or links with
information?
Many thx and bye,
Fabian D.
sry for the bad title
.I created an extended ListView with an extended ColumnHeader. If i add
a new ColumnHeader through the designer, it appears on the left side of
the editor and i can set my own properties. But when i click the
ok-button, the code ist not generated in the for example
Form1.Designer.cs file, so the Columns won't appear in the ListView
(not at designtime nor at runtime).
I searched many hours and i thought i found the solution by adding the
designer property "[DesignerSerializationVisibility(
DesignerSerializationVisibility.Content )] ", but this wont work for
me. I don't know, what i do wrong.
Can anyone help me with this problem, show me code or links with
information?
Many thx and bye,
Fabian D.