Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force overridden property to be updated

Status
Not open for further replies.

Ruffnekk

Programmer
Aug 2, 2005
249
DE
Hi,

I have a small problem which I can't seem to solve.

I have made a UserControl, completely user drawn. I need to override the BackColor property. The problem that arises when I override it, is that whenever I change the backcolor of the control on a Windows Form, the property is not set in "Windows Form Designer generated code".

Which property attribute can I use to force a Windows Form that contains the control to put the BackColor property in the "Windows Form Designer generated code" section?

Regards, Ruffnekk
---
Is it true that cannibals don't eat clowns because they taste funny?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top