<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: VisualStateGroup name always return null?</title><link>http://forums.silverlight.net/forums/thread/107127.aspx</link><pubDate>Mon, 13 Oct 2008 00:57:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107127</guid><dc:creator>cncolder</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/107127.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=107127</wfw:commentRss><description>Yes. I have done like your code.

I wanna find why it&amp;#39;s null only.

But still would like to thanks</description></item><item><title>Re: VisualStateGroup name always return null?</title><link>http://forums.silverlight.net/forums/thread/106797.aspx</link><pubDate>Sat, 11 Oct 2008 22:17:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106797</guid><dc:creator>pbrooks</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106797.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106797</wfw:commentRss><description>&lt;p&gt;cncolder,&lt;/p&gt;&lt;p&gt;You could do something like this:&lt;/p&gt;&lt;p&gt;var vsGroup = VisualStateManager.GetVisualStateGroups(LayoutRoot)[0] as VisualStateGroup;&lt;br /&gt;vsGroup.CurrentStateChanging += new EventHandler&amp;lt;VisualStateChangedEventArgs&amp;gt;(vsGroup_CurrentStateChanging);&lt;br /&gt;...&lt;br /&gt;private void vsGroup_CurrentStateChanging(object sender, VisualStateChangedEventArgs e)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Diagnostics.Debug.WriteLine(e.NewState.Name);&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>VisualStateGroup name always return null?</title><link>http://forums.silverlight.net/forums/thread/106471.aspx</link><pubDate>Sat, 11 Oct 2008 01:27:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:106471</guid><dc:creator>cncolder</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/106471.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=106471</wfw:commentRss><description>&amp;nbsp;Here is my xaml file:&lt;pre class="coloredcode"&gt;&lt;span class="cmt"&gt;&amp;lt;!-- Xaml --&amp;gt;&lt;/span&gt;
&amp;lt;&lt;span class="tag"&gt;vsm:VisualStateManager.VisualStateGroups&lt;/span&gt;&amp;gt;
	&amp;lt;&lt;span class="tag"&gt;vsm:VisualStateGroup&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;VisualStateGroup1&amp;quot;&lt;/span&gt;&amp;gt;
 		...
	&amp;lt;/&lt;span class="tag"&gt;vsm:VisualStateGroup&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;vsm:VisualStateManager.VisualStateGroups&lt;/span&gt;&amp;gt;&lt;/pre&gt;
&lt;p&gt;When I use the xname in code file like this:&lt;/p&gt;&lt;pre class="coloredcode"&gt;VisualStateGroup1.CurrentStateChanging += &lt;span class="kwd"&gt;new&lt;/span&gt; EventHandler...&lt;/pre&gt;I find that the visual state group name return null. Not implemented that?</description></item></channel></rss>