none
WPF usercontrol dependency properties not binding

    Question

  • I have two WPF user controls.  One is a textbox with caption, the other a listbox with caption.  Both have several exposed dependency properties.  In particular, the textbox one has an exposed "Text" property, the listbox a "SelectedIndex" property.  From within the XAML on my instance of a listbox I bind the SelectedIndex property and all is well.  When I bind the "Text" property of the textbox nothing happens!!  The code for both snippets is absolutely identical except for property name and data type.  Any ideas what could cause this and how to approach debugging it?  I need to move forward quickly and this just isn't making sense.

    Thanks for *any* piece of advice....
    Monday, June 22, 2009 7:16 PM

Answers

All replies