|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can I bind a property directly to a setting?Given, for example, a component (a control, let's say) with some property
X, can I bind that property to an application setting Y (Properties.Settings.Default.Y) in the designer somehow? I've tried playing around with the data binding stuff, but it appears to strictly require some actual database source. If this is possible, I haven't found the magic incantation to get it to work. Thanks, Pete To bind the target must support a specific interface (idatasource if memory
serves me correctly). -- Show quoteRegards, Alvin Bruney ------------------------------------------------------ Shameless author plug Excel Services for .NET is coming... OWC Black book on Amazon and www.lulu.com/owc Professional VSTO 2005 - Wrox/Wiley "Peter Duniho" <NpOeStPe***@nnowslpianmk.com> wrote in message news:op.tr07idfz8jd0ej@petes-computer.local... > Given, for example, a component (a control, let's say) with some property > X, can I bind that property to an application setting Y > (Properties.Settings.Default.Y) in the designer somehow? > > I've tried playing around with the data binding stuff, but it appears to > strictly require some actual database source. If this is possible, I > haven't found the magic incantation to get it to work. > > Thanks, > Pete On Tue, 08 May 2007 16:49:10 -0700, Alvin Bruney [MVP] <some guy without
an email <"address>"> wrote: > To bind the target must support a specific interface (idatasource if So, is there a way to create an item in Properties.Settings.Default that > memory serves me correctly). implements that interface? |
|||||||||||||||||||||||