Is there a way to make the tab flash when the content changes. I have an app that will be updating multiple tabs and would like to visually notify the user that some data has changed by changing the tabs look without making it come to the foreground. A background color change or font change or a flashing background. Can this be done?
Thanks
There is nothing in the control to do this for you but you could probably write your own code to do this. Perhaps you could create an attached property that you set on the ContentPane when you change the Content (or use a derived ContentPane and have it set this property itself from the OnContentChanged - just be sure to call the base) and then clear that property at some later time. Then create a style for the PaneTabItem that binds to that property off the ContentPane (the PaneTabItem exposes the CP via its Pane property) and sets a property (e.g. Background) on the PaneTabItem. Or if you just want to change the font then perhaps instead of a new PaneTabItem style you would create a DataTemplate for the TabHeaderTemplate and in there bind to that property (using a relativeSource findancestor to get to the ContentPane) and change the font as needed.