Hi,
How to use BindingExpression for Listbox?
For textbox we use something like
BindingExpression bindingExpression = txtbox1.GetBindingExpression(TextBox.TextProperty);
Thanks Sharath
Hi,
How to use BindingExpression for Listbox?
For textbox we use something like
BindingExpression bindingExpression = txtbox1.GetBindingExpression(TextBox.TextProperty);
Thanks Sharath
The same way? GetBindingExpression
is defined for FrameworkElement
, and ListBox
is one.