tags:

views:

64

answers:

1

Hi,

How to use BindingExpression for Listbox?

For textbox we use something like

BindingExpression bindingExpression = txtbox1.GetBindingExpression(TextBox.TextProperty);

Thanks Sharath

+1  A: 

The same way? GetBindingExpression is defined for FrameworkElement, and ListBox is one.

CannibalSmith