J
James Geurts
Hi,
I am trying to add designer support to my custom web control. It's similar
to the Panel control and I'd like to allow the user to specify vertical
align. I'm not quite sure what style is supported in the vs.net designer,
though.
So... in the OnBehaviorAttached() method of my designer class, I do
something like:
this.Behavior.SetStyleAttribute("vertical-align", true,
Enum.Format(typeof(VerticalAlign), propertyValue, "G"), true);
It doesn't appear that "vertical-align" is a valid style. Can someone tell
me what style I need to specify to accomplish this?
Also, is there a list of styles (and attributes) that are supported by the
vs.net designer?
Thanks
Jim
I am trying to add designer support to my custom web control. It's similar
to the Panel control and I'd like to allow the user to specify vertical
align. I'm not quite sure what style is supported in the vs.net designer,
though.
So... in the OnBehaviorAttached() method of my designer class, I do
something like:
this.Behavior.SetStyleAttribute("vertical-align", true,
Enum.Format(typeof(VerticalAlign), propertyValue, "G"), true);
It doesn't appear that "vertical-align" is a valid style. Can someone tell
me what style I need to specify to accomplish this?
Also, is there a list of styles (and attributes) that are supported by the
vs.net designer?
Thanks
Jim