Thanks for the response...
I've read a bit about it in Essential Windows Presentation Foundation by
Chris Anderson and I'm also looking at this tutorial....
http://coredotnet.blogspot.com/2006/05/wpf-data-binding-tutorial.html
The only thing different in my code is my object does not currently
implement the INotifyPropertyChanged interface, but in Chris Anderson's book
he says that's optional.
Might try implementing the interface and seeing if it binds... not too
hopeful though. If anybody has any ideas I would be grateful.

Signature
Regards,
Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com
> I'm no expert on this, but I think you need to specify the object that
> has the UserName property in your Binding regardless of the
> DataContext. Also, is UserName a DependencyProperty? You should
> probably invest in some WPF books to get you started.
Phil Johnson - 06 Mar 2008 20:24 GMT
Got this one resolved....
My object I was binding to had internal properties, constructors etc. Even
though it is in the same assembly as the form I am binding to it, the binding
did not like the internal access.
I changed the internal to public on the constructor and properties and the
binding works!
I did not get any messages about security or permission or anything. I try
to develop with least priviledges/permissions and try to avoid public
wherever possible... might have to rethink that approach now.

Signature
Regards,
Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com
> Thanks for the response...
>
[quoted text clipped - 14 lines]
> > DataContext. Also, is UserName a DependencyProperty? You should
> > probably invest in some WPF books to get you started.