In WPF, is there an event that can be used to determine when a TabControl‘s selected tab changes?
I have tried using TabControl.SelectionChanged but it is getting fired many times when a child’s selection within a tab is changed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to check the event’s source to isolate the outer-most
TabControlyou are looking for.I tied this in the handler to make it work: