﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - UXTabControl</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXTabControl/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>UXTabControl</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXTabControl/</link><pubDate>Wed, 16 Feb 2011 23:47:40 GMT</pubDate><dc:creator>jimmyps</dc:creator><description>&lt;p&gt;Hi Ross,&lt;/p&gt;&lt;p&gt;Using the event handler in MVVM application is not recommended. You can easily capture the selected tab in your VM through the SelectedIndex property of the UXTabControl. For instance, "SelectedIndex={Binding MyVM.SelectedTabIndex}"&lt;/p&gt;
&lt;p&gt;In your case, the EventTrigger is treated as a content and thus a tab is created to encapsulate the content, which is no longer needed when you used the correct MVVM design pattern. The "content encapsulation" complies with the ItemsControl concept in which it allows you to host any UIElement in the control.&lt;/p&gt;
&lt;p&gt;Please let me know if my suggestion works for you, or if you have specific reasons to use EventTrigger.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;Jimmy&lt;br /&gt;&lt;/p&gt;</description></item><item><title>UXTabControl</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXTabControl/</link><pubDate>Wed, 16 Feb 2011 09:57:38 GMT</pubDate><dc:creator>rasmister</dc:creator><description>&lt;p&gt;I was attempting to add a SelectionChanged event handler in XAML and determine which tab was being selected in my VM.  When I add it to the UXTabControl structure, it thinks my EventTrigger is a tab and displays a tiny tab, and if you click on that tab it throws an exception.  Can you please verify that you can actually add an eventtrigger to the UXTabControl and provide me with an example of how you did it?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Ross&lt;/p&gt;</description></item></channel></rss>