ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.22k stars 329 forks source link

TabablzControl SelectedIndex binding catches all exception from bound property #265

Open rav97 opened 3 years ago

rav97 commented 3 years ago

When databinding to the SelectedIndex property in TabablzControl, it catches all exceptions that get thrown deeper in the call stack into the bound property.

In my case, I have bound to a property that receives the SelectedIndex value and then in property setter calls a method that performs certain actions. Calling the method may result in throwing an exception that I would like to handle later, however it is not possible because something inside TabablzControl catches it and ignores it.