Setting style on first and last visible TabItem of TabControl
- by Donnelle
I want to set a style on the first and last TabItems in a TabControl, and have them updated as the visibility of the TabItems is changed. I can't see a way to do so with triggers.
What we're after looks like this:
| |
And the visibility of TabItems are determined by binding.
I do have it working in code. On TabItem visibility changed,…