K
Ken Dopierala Jr.
Hi,
When I change properties through the property window on my custom control
and then move focus from that property cell VS.Net runs the
GetDesignTimeHtml() method on my designer. When I implement a UITypeEditor,
change the values, then close the editor nothing happens until I switch the
HTML view (which shows the changes) and then switch back to design view
which then shows the new stuff.
I can get to my component through the Context.Instance object in the
EditValue method but I can't figure out how to get a reference to the
designer to call GetDesignTimeHtml(). When the editor closes and I assign
the value to the property of my control I can set a breakpoint where the
property is assigned the new value but I still can't see how to get a
reference to the designer. How can I call GetDesignTimeHtml() or get it to
be called after my control changes due to action taken in a custom
UITypeEditor? Thanks! Ken.
When I change properties through the property window on my custom control
and then move focus from that property cell VS.Net runs the
GetDesignTimeHtml() method on my designer. When I implement a UITypeEditor,
change the values, then close the editor nothing happens until I switch the
HTML view (which shows the changes) and then switch back to design view
which then shows the new stuff.
I can get to my component through the Context.Instance object in the
EditValue method but I can't figure out how to get a reference to the
designer to call GetDesignTimeHtml(). When the editor closes and I assign
the value to the property of my control I can set a breakpoint where the
property is assigned the new value but I still can't see how to get a
reference to the designer. How can I call GetDesignTimeHtml() or get it to
be called after my control changes due to action taken in a custom
UITypeEditor? Thanks! Ken.