I am trying to create a control, using standard user components A.
The I use that component A as part of a new component B.
And finally I drop that component B on my form.
Now in Component A I filled in some default fields like this.
[Browsable(true)]
[DefaultValue("Title"), Category("Appearance")]
override public System.String Text {
set {
Title.Text=value;
Title.Invalidate(true);}
get {return Title.Text;}
}
So on the Component B I changed the "Title" to something else (in this case
X-Axis) using the property editor, this works nice.
But when I run the program then the original Title is put there while then
it should be the "X-Axis"
Has anyone have experience with this?
Did I miss something? Some initialization order?
Currently I solve the problem by forcing it in the main form
programatically.