问题
I have created TabItems in silverlight
where each tab display some text.
When i change the text then it show asterisk at the Header of TabItem with header name.
Now what i want to achieve is : suppose i made a change on the current TabItem text display then when i switch from the one tab to another tab item then it must show a pop up saying "do you wanna save the changes done ?"
Does silverlight provide any facility in TabItem to notify when there is change in the TabItem (I mean when switching is done from one tabitem to another) ?
On switching here from one tab item to another must pop up a message that do you wanna save the change in the previous tab. How to get notification of switching the TabItem(NOT TabControl) ?
来源:https://stackoverflow.com/questions/24868119/how-to-notify-the-tabitem-switching-in-c-if-there-are-many-tabitems