Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
UserControl and Ultra* controls editor in IDE
posted

Hi

Ive created my own UserControl (contains of label + UltraTextEditor - and similar controls)
Then in my UserControl class Ive added Browseable prop returning this contol

Like this:

[Browsable(true)]
        public Control                    _Editor {
            get { return this.ultraControl; }
        }

Then in design mode I can see in Visual Studio what Ive expected (_Editor node) - can do changes, changes are reflected in design preview.
But issue is that those changes are not being saved. So if I close and open this file, or compile app - all changes I did in design mode are lost

Can you please help me understand what Im doing wrong here ?
How to archive that?