vis781
Well-known member
Font Property issues.[Resolved]
Hi all, and thanks for reading. I am having, most likely a simlple problem, with setting a font property in my custom control. I place a public property in my class with the name font however it tells me that this already exists in the base class, ok so i tried shadowing the property and even overriding it but, when i change the font at design time it's not peristed in my forms code. The only way i've found of doing this is the add another font property to my user control, but this means that there are two font properties there now, and it look a bit unprofessional. Can anyone help please?
Hi all, and thanks for reading. I am having, most likely a simlple problem, with setting a font property in my custom control. I place a public property in my class with the name font however it tells me that this already exists in the base class, ok so i tried shadowing the property and even overriding it but, when i change the font at design time it's not peristed in my forms code. The only way i've found of doing this is the add another font property to my user control, but this means that there are two font properties there now, and it look a bit unprofessional. Can anyone help please?
Last edited: