Posted 9 years ago by Ulfried
I sucessfully adapted the Tab-Flashing-Behavior from the samples (which only work with ToolWindows) to work with DocumentWindow too. I use it this way and it works perfect:
Now I want to use this with MVVM. I want to bind the attached Property IsFlashing with a Boolean-property from my ViewModel.I tried a lot, but can't get this to work with DocumentItemContainerstyle or DocumentItemTemplate (DataTemplate). If this is somehow possible, I would greatly appreciate a short working sample here.
<docking:DocumentWindow sample:DocumentWindowTabFlashBehavior.IsFlashing="True" sample:DocumentWindowTabFlashBehavior.IsStoppedWhenActivated="False" > ...