TabControl and selected tab index

It was obvious for me that a TabControl in WPF, which is a container for TabItems, has a dependency property indicating the index of current tab. I was, also obviously, not surprised when I found TabIndex property on the TabControl. So without unnecessary thinking and spending time on that, I have set a binding to this property in my application. I was hoping that by changing b…

By Mirek on (tags: TabControl, WPF, categories: code)