Good stuff, thank you. I discovered when I bound to the control I actually wanted (TextBox child of the custom control) that my roundtrip happened as expected, without any new events. Still, this is good to know.
Jim ----- Original Message ----- From: "Marsh, Drew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 12:53 PM Subject: Re: [DOTNET] Simple Data Binding problem: pull from control? > Jim Galasyn [mailto:[EMAIL PROTECTED]] wrote: > > > So how do I get that modified field set to true? > > You need to define an event called "Title2Changed" and fire that event when > the property is changed. That way, when you add the databinding, the > architecture will use reflection to look for the event by simply appending > "Changed" to the property name. Check out this section[1] of the SDK under > the heading "Raising Property-Changed Events" for more details. > > HTH, > Drew > .NET MVP > > [1] > ms-help://MS.VSCC/MS.MSDNVS/cpgenref/html/cpconpropertyusageguidelines.htm > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.