Expression Blend + SketchFlow 論壇Questions and discussions regarding Expression Blend, the professional design tool for creating engaging web-connected experiences for Windows, and SketchFlow, a rapid prototyping tool that builds in interactivity and facilitates gathering customer feedback.© 2009 Microsoft Corporation. 版權所有,並保留一切權利。Thu, 26 Nov 2009 14:23:23 Zc3b0083b-c932-4f24-9b21-bb6468d6a1a4http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/3f748abd-d29f-4c91-aa60-94e582fedfb7http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/3f748abd-d29f-4c91-aa60-94e582fedfb7Angelica_grhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Angelica_grA Blend behavior in Visual BasicCan someone write the code below in Visual Basic?<br/> All the programs i read in the Internet are in C#..<br/> <br/> namespace dragdropinCSharp<br/> {<br/>   public class DraggableBehavior : Expression.Behavior&lt;FrameworkElement&gt;<br/>   {<br/>     <br/>     bool isDragging;<br/>     Point capturePoint;<br/>     <br/>     public DraggableBehavior()<br/>     {<br/>     }<br/>     <br/>     protected override void OnAttached()<br/>     {<br/>       base.OnAttached();<br/>       this.AssociatedObject.MouseLeftButtonDown += OnMouseDown;<br/>       this.AssociatedObject.MouseLeftButtonUp += OnMouseUp;<br/>       this.AssociatedObject.MouseMove += OnMouseMove;     <br/>     }<br/>     void OnMouseMove(object sender, MouseEventArgs e)<br/>     {<br/>       if (isDragging)<br/>       {<br/>           dragStart = e.GetPosition(dragElement);<br/>       }<br/>     }<br/>     void OnMouseUp(object sender, MouseButtonEventArgs e)<br/>     {<br/>       this.AssociatedObject.ReleaseMouseCapture();<br/>       isDragging = false;<br/>     }<br/>     <br/>     <br/>     void OnMouseDown(object sender, MouseButtonEventArgs e)<br/>     {<br/>       if (!isDragging)<br/>       {<br/>         isDragging = true;<br/>         this.AssociatedObject.CaptureMouse();<br/>       }<br/>     }<br/>     <br/>     protected override void OnDetaching()<br/>     {<br/>       base.OnDetaching();<br/>       this.AssociatedObject.MouseLeftButtonDown -= OnMouseDown;<br/>       this.AssociatedObject.MouseLeftButtonUp -= OnMouseUp;<br/>       this.AssociatedObject.MouseMove -= OnMouseMove;<br/>     }<br/>     <br/>   }<br/> }Wed, 25 Nov 2009 14:40:06 Z2009-11-26T14:23:23Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/b6fbec41-e837-4244-92a3-d41d6488414fhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/b6fbec41-e837-4244-92a3-d41d6488414fAngelica_grhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Angelica_grChange the name of an element in a XAML Window, from another windowI have a main xaml window with a button and a rectangle in a WPF Expression Blend Application. <br/> When i press the button, a new window opens by the code below:<br/> <br/> Private Sub btnCreateProject_Click(ByVal sender as Object, ByVal e as System.Windows.RoutedEventArgs)<br/>         Dim impPref As ImportPreferences = new ImportPreferences()            <br/>         impPref.Show            <br/> End Sub<br/> <br/> The new window has a button too.When i press it, i want to change the NAME of the rectangle element of the main page.<br/> I put a Property to the name of the rectangle by using a user control for it.<br/> Any ideas to do that???Thu, 26 Nov 2009 13:46:28 Z2009-11-26T13:46:30Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/adbba104-e84f-44b9-a6cb-d676d950f2achttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/adbba104-e84f-44b9-a6cb-d676d950f2acmercury66http://social.expression.microsoft.com/Profile/zh-TW/?user=mercury66Blend 3 woes - customizing Tag Browser template for use in DZC?Hello everyone (my first post),<br/> <br/> I've been getting to know Blend 3 - working on a project which includes the Tag Browser source files available here:<br/> http://www.kirupa.com/silverlight/Source/Deep  Zoom Tag Project Updated.zip<br/> I've also been following the excellent template posts by Kirupa.<br/> <br/> However, when I'm finished applying my own look and feel etc, everything working in Blend's preview - I can't seem to get the files to work as a template in DZC. (My template does appear in DZC drop down but does not export correctly).<br/> <br/> My question - Tag Browser source files I have are for Silverlight 2, will this be my problem? Blend updates the project when I open it to Silverlight 3 - after this what else might I have to do to get my Tag Browser files to work in DZC?<br/> <br/> or<br/> <br/> Is it possible to download the source files for the Tag Browser packaged with the silverlight 3 DZC - so I could see what the differences are compared to Silverlight 2 Tag Browser source files, and get my template to work?<br/> <br/> Any help or pointers much appreciated!<br/> <br/> mThu, 26 Nov 2009 11:53:32 Z2009-11-26T11:53:34Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/1f0edb5c-181f-4693-ad78-d193832fcd94http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/1f0edb5c-181f-4693-ad78-d193832fcd94sharathkumarhttp://social.expression.microsoft.com/Profile/zh-TW/?user=sharathkumarHow to set the Application Fit to every screen in expression Blend 2hi ,<br/>      I want to know how to set the screen size fit to screen with distubing the font size .it means that it should run in every Monitor whether the monitor width and Height is changed,<br/> <br/> Regards,<br/> Sharath kumarMon, 23 Nov 2009 07:59:48 Z2009-11-26T09:02:00Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/f1a0f2d9-bbe8-4b70-91d9-f1cd3e4376f7http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/f1a0f2d9-bbe8-4b70-91d9-f1cd3e4376f7Dan So Calhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Dan%20So%20CalAnnotations on Compents in Sketchflow Player don't displayWhen I add an annotation to a component in sketchflow, it does not display in the Player.  <br/>If I add the annotations to the component that is on a screen, they do display.<br/>For example:  <br/>I have a header component.  If I add the annotation to the header, it won't display on the player. However, if I add the annotation to the header as embedded in my home screen, it will display in the player when the home screen is open, but not when any other screen (all of which use the header component) is displayed.<br/><br/>Is the a bug, or inherent in the architecture?Fri, 23 Oct 2009 17:51:26 Z2009-11-26T08:45:42Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/ced94895-9763-45f3-99a2-97591d464014http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/ced94895-9763-45f3-99a2-97591d464014bobjinkhttp://social.expression.microsoft.com/Profile/zh-TW/?user=bobjinkStart animation from another usercontrolI have two Usercontrols: MapWindow and ChatWindow.<br/> MapWindow contains another two usercontrols, one of them called ButtonControl. Now in my window1 where I have MapWindow and ChatWindow I have made a animation where I make a transition from MapWindow to ChatWindow. However I want this transition to happen when one of the buttons in ButtonControl is clicked. I can't see how I can do this?<br/> <br/> Note: The animation is working fine. The question is how I can start this animation from 'another place'.<br/> Ask if you want to know more!<br/> <br/> ThanksTue, 24 Nov 2009 15:30:01 Z2009-11-26T08:30:18Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/10b9febf-8891-4852-b9dd-d34fec580c5ahttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/10b9febf-8891-4852-b9dd-d34fec580c5aTamasinhttp://social.expression.microsoft.com/Profile/zh-TW/?user=TamasinPopup MenuOur developers have implimented a new Popup Menu into our application<br/> I'm trying to skin the new Popup Menu control in blend 3 and not getting very far.<br/> (I'm a designer not a developer so am working purely visually within Blend)Wed, 25 Nov 2009 19:14:21 Z2009-11-26T07:51:37Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/52d71133-6b12-4729-b75d-3f9fe563a44fhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/52d71133-6b12-4729-b75d-3f9fe563a44fU_lukehttp://social.expression.microsoft.com/Profile/zh-TW/?user=U_lukeHow to make a WPF SketchFlow project into Full screen?Please, Anyone knows how to make a WPF SketchFlow project into Full screen?<br/> This project is not using for a web site.<br/> I want to use the project as an user interface application on a touch_screen monitor.<br/> So I would like it is displayed into a full screen style. <br/> How to? please.<br/> Thanks a lot advance.<br/> <br/> Luke<br/> <br/> <br/>Thu, 05 Nov 2009 23:40:17 Z2009-11-26T06:57:00Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/6fae419b-312b-4d73-a211-ab7c026ff2dahttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/6fae419b-312b-4d73-a211-ab7c026ff2daaxyshttp://social.expression.microsoft.com/Profile/zh-TW/?user=axysNavigation in Expression Blend 3Well, I have two XAML pages:<br/>MainPage.xaml<br/>Page1.xaml<br/><br/>I have a button and a Frame on MainPage.xaml. <br/> <div dir=ltr>I put a Behavior, the Behavior is ChangePropertyAction. I set the properties so that when clicked the button, the frame showed the page Page1.xaml. <br/>But when I test application, I get an error: <br/><strong>Unhandled Error in Silverlight Application AG_E_PARSER_BAD_TYPE [Line: 14 Position:] at System.Windows.Application.LoadComponent (Object component, Uri resourceLocator) at SilverlightApplication5.MainPage.InitializeComponent () at SilverlightApplication5.Main.Page .. ctor () at SilverlightApplication5. App.Application_Startup (Object o, StartupEventArgs e) ...</strong> <br/>Please can someone tell me what am I doing wrong?<br/><br/>There is the XAML of MainPage.xaml, which contains the button, the behavior and the frame:<br/> <pre lang=x-xml>&lt;UserControl xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; xmlns:i=&quot;clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity&quot; xmlns:ic=&quot;clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions&quot; xmlns:System=&quot;clr-namespace:System;assembly=System&quot; xmlns:navigation=&quot;clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation&quot; x:Class=&quot;SilverlightApplication5.MainPage&quot; Width=&quot;640&quot; Height=&quot;480&quot;&gt; &lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;White&quot;&gt; &lt;Button x:Name=&quot;button&quot; Height=&quot;33&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;17,59,0,0&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;212&quot; Content=&quot;Button&quot;&gt; &lt;i:Interaction.Triggers&gt; &lt;i:EventTrigger EventName=&quot;Click&quot;&gt; &lt;ic:ChangePropertyAction TargetName=&quot;framee&quot; PropertyName=&quot;Source&quot;&gt; &lt;ic:ChangePropertyAction.Value&gt; &lt;System:Uri&gt;Page1.xaml&lt;/System:Uri&gt; &lt;/ic:ChangePropertyAction.Value&gt; &lt;/ic:ChangePropertyAction&gt; &lt;/i:EventTrigger&gt; &lt;/i:Interaction.Triggers&gt; &lt;/Button&gt; &lt;navigation:Frame x:Name=&quot;framee&quot; Margin=&quot;243,0,0,0&quot; TabNavigation=&quot;Cycle&quot; Cursor=&quot;Arrow&quot;/&gt; &lt;/Grid&gt; &lt;/UserControl&gt;</pre> </div>Tue, 10 Nov 2009 16:01:57 Z2009-11-26T06:56:00Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/41e97813-8548-414f-b6b2-f36d698d4693http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/41e97813-8548-414f-b6b2-f36d698d4693Jamie Claytonhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Jamie%20ClaytonFont Distribution permissions<p>G'day,<br/><br/>I've noticed that my Sketchflow applications have embedded a number of fonts into the solution. Eg.<br/><br/>BuxtonSketch.ttf<br/>SegoeMarker.ttf<br/>SketchFlow Print.ttf<br/><br/>Now I thought that there is a fine line between embedded fonts in documents vs applications. Basically I've had a bad experience distributing a font I purchased , so I've stayed away from it where possible.  <a href="http://www.microsoft.com/typography/RedistributionFAQ.mspx">http://www.microsoft.com/typography/RedistributionFAQ.mspx</a> basically says not to distribute MS fonts, because of licensing issues.<br/><br/>I had a think about my other .net applications and the fonts used in the various operating systems (I'm Vista/Windows7) while 99% of the clients are windows XP.  I've always had to adjust the layouts (WPF solutions) to suite Windows XP and I've assumed that to be partly a font related issue (DPI, OS, WPF etc etc).<br/><br/>If Expression Blend 3 Sketchflow applications copy and embed fonts, does that mean any other .net application can do the same? I'm thinking about the MS Segoe font series here for other wpf based .net applications. So I can have the modern OS look and feel while my business customers consider Windows 7 upgrades.<br/><br/>Are &quot;embedded&quot; MS Fonts allowed for all .net applications?</p> <hr class=sig> Jamie ClaytonThu, 26 Nov 2009 06:39:44 Z2009-11-26T08:39:57Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/503a0821-10f7-4387-84be-c5ddcba791b2http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/503a0821-10f7-4387-84be-c5ddcba791b2technobelhttp://social.expression.microsoft.com/Profile/zh-TW/?user=technobelDeepZoomBehavior is missingHello,<br/><br/>I'm trying to integrate a collection created through Deep zoom composer in my Expression Blend 3 project.<br/>I used a MultiScaleImage but I haven't interactivities.<br/>I would like to extend this control by a specific behavior (DeepZoom), but I didn't find it.<br/>I have a trial version of Blend 3. Is it the problem?<br/>Where I can find tis behavior?<br/>Thanks in advance<br/>HerveTue, 10 Nov 2009 00:02:28 Z2009-11-25T21:57:13Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/b2eb2678-59d6-4ab4-96ec-01022e2c986ehttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/b2eb2678-59d6-4ab4-96ec-01022e2c986etechnobelhttp://social.expression.microsoft.com/Profile/zh-TW/?user=technobelHow to load an xml file with XDocument.loadHi,<br/>I would like to load xml file from a file with the following code:<br/>XDocument MyDocLoaded = XDocumentLoad(@&quot;c:\folder1\Myfile.xml&quot;);<br/><br/>But I have always an error during the load (No file found in XAP package).<br/>Do I need to put Myfile.xml somewhere? or to do something else?<br/><br/>Thanks for your help<br/><br/>Rv Wed, 25 Nov 2009 21:55:24 Z2009-11-25T21:55:25Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/088308a0-f9b8-4c92-ad92-9e357c65c40bhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/088308a0-f9b8-4c92-ad92-9e357c65c40bRonConger09http://social.expression.microsoft.com/Profile/zh-TW/?user=RonConger09How do you rotate an image in Canvas? A bug was foundI don't think you can rotate an image in Canvas using XAML.  I've done it using code, and I've done it in a Grid, but there's a bug it seems for Canvas.  Can anybody upload the markup?  One clue that there's a bug is that IntelliSense does not recognize RenderTransform or RotateTransform. (or rotatetransform rendertransform layouttransform in canvas<br/><br/>Here is some of my code:<br/><br/> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Window.Triggers</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">        </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">EventTrigger</span><span style="font-family:'Courier New';color:red;font-size:10pt"> RoutedEvent</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;Window.Loaded&quot;&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">EventTrigger.Actions</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">BeginStoryboard</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                    </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Storyboard</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                     </span></span><span style="font-family:'Courier New';color:green;font-size:10pt">&lt;!--has no effect (rotation does not work as you cannot get image to do a Render/Rotate in XAML in Canvas mode!--&gt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">  </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                        </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                   </span></span><span style="font-family:'Courier New';color:green;font-size:10pt">&lt;!--<span style="">    </span>&lt;DoubleAnimationUsingPath Storyboard.TargetName=&quot;image4&quot;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"><span style="">                                                  </span>Storyboard.TargetProperty=&quot;(Canvas.Left)&quot;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"><span style="">                                                  </span>PathGeometry=&quot;{StaticResource path}&quot;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"><span style="">            </span><span style="">                                      </span>Duration=&quot;0:0:15&quot; RepeatBehavior=&quot;Forever&quot; Source=&quot;Angle&quot; AutoReverse=&quot;True&quot; /&gt; </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"><span style="">                        </span>--&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:green;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                        </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">DoubleAnimationUsingPath</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Storyboard.TargetName</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;image4&quot;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                        </span><span style="">                         </span><span style="color:red"><span style=""> </span>Storyboard.TargetProperty</span><span style="color:blue">=&quot;(Canvas.Left)&quot;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                                                 </span><span style="color:red"><span style=""> </span>PathGeometry</span><span style="color:blue">=&quot;{</span><span style="color:#a31515">StaticResource</span><span style="color:red"> path</span><span style="color:blue">}&quot;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                                                 </span><span style="color:red"><span style=""> </span>Duration</span><span style="color:blue">=&quot;0:0:07&quot;</span><span style="color:red"> RepeatBehavior</span><span style="color:blue">=&quot;Forever&quot;</span><span style="color:red"> Source</span><span style="color:blue">=&quot;X&quot;</span><span style="color:red"> AutoReverse</span><span style="color:blue">=&quot;True&quot; /&gt;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style=""> </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                   </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">DoubleAnimationUsingPath</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Storyboard.TargetName</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;image4&quot;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                                                 </span><span style="color:red"><span style=""> </span>Storyboard.TargetProperty</span><span style="color:blue">=&quot;(Canvas.Top)&quot;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                                                 </span><span style="color:red"><span style=""> </span>PathGeometry</span><span style="color:blue">=&quot;{</span><span style="color:#a31515">StaticResource</span><span style="color:red"> path</span><span style="color:blue">}&quot;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                                                 </span><span style="color:red"><span style=""> </span>Duration</span><span style="color:blue">=&quot;0:0:07&quot;</span><span style="color:red"> RepeatBehavior</span><span style="color:blue">=&quot;Forever&quot;</span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';font-size:10pt"><span style="">                                                 </span><span style="color:red"><span style=""> </span>Source</span><span style="color:blue">=&quot;Y&quot;</span><span style="color:red"> AutoReverse</span><span style="color:blue">=&quot;True&quot; /&gt;</span><span style="color:#a31515"> </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                         </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                    </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Storyboard</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">BeginStoryboard</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">   </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">       </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">EventTrigger.Actions</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">        </span></span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:10pt">EventTrigger</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt"> </span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">//NOW IN XAML FURTHER DOWN, IN THE CANVAS SECTION—</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Image</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Name</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;image4&quot;&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Image.Source</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">DrawingImage</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                    </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">DrawingImage.Drawing</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                        </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryDrawing</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Brush</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;LightSteelBlue&quot;&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryDrawing.Geometry</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt"> </span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                                </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryGroup</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                                    </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">EllipseGeometry</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Center</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;10,10&quot;</span><span style="font-family:'Courier New';color:red;font-size:10pt"> RadiusX</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;9&quot;</span><span style="font-family:'Courier New';color:red;font-size:10pt"> RadiusY</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;4&quot; /&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                                    </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">EllipseGeometry</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Center</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;10,10&quot;</span><span style="font-family:'Courier New';color:red;font-size:10pt"> RadiusX</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;4&quot;</span><span style="font-family:'Courier New';color:red;font-size:10pt"> RadiusY</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;9&quot; /&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                                </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryGroup</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                                  </span></span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryDrawing.Geometry</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryDrawing.Pen</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                                </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Pen</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Thickness</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;1&quot;</span><span style="font-family:'Courier New';color:red;font-size:10pt"> Brush</span><span style="font-family:'Courier New';color:blue;font-size:10pt">=&quot;Black&quot; /&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryDrawing.Pen</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                        </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">GeometryDrawing</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                    </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">DrawingImage.Drawing</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">                </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">DrawingImage</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="line-height:normal;margin:0in 0in 0pt"><span style="font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">            </span></span><span style="font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="font-family:'Courier New';color:#a31515;font-size:10pt">Image.Source</span><span style="font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:10pt"><span style="">        </span></span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&lt;/</span><span style="line-height:115%;font-family:'Courier New';color:#a31515;font-size:10pt">Image</span><span style="line-height:115%;font-family:'Courier New';color:blue;font-size:10pt">&gt;</span></p>Wed, 25 Nov 2009 17:27:01 Z2009-11-25T22:22:28Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/0b09a1dc-f21e-4890-a45f-5a6778b6acefhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/0b09a1dc-f21e-4890-a45f-5a6778b6acefSanchez333http://social.expression.microsoft.com/Profile/zh-TW/?user=Sanchez333Blend Tutorial Problem - Project Won't Build due to 'GetValue', 'SetValue' issuesHi there, I have tried searching for the solution but to no avail!<br/> <br/> I worked through the Fabrikam tutorials in both Design and Blend and only encountered this problem after completing Exercise 8. <br/> <br/> Basically, when I try to Build Solution(/Project) I receive a number of error messages like the following:<br/> <br/> &quot;VideoPlayer.Window1 does not contain a definition for GetValue and no extension method etc etc&quot;<br/> <br/> The problem seems to have come from adding the VideosPlayerControls.cs file. I can't understand why it built without problems before but is now returning errors, however I am verrry new to the game so maybe I'm just being dim :)<br/> <br/> Anyway, here's a snippet of the xaml (from VideoPlayerControls.cs), any help you can offer would be greatly appreciated!<br/> <br/> public double TotalDuration<br/>         {<br/>             get<br/>             {<br/>                 return (double)this.GetValue(TotalDurationProperty);<br/>             }<br/>             set<br/>             {<br/>                 this.SetValue(TotalDurationProperty, value);<br/>             }<br/>         }<br/> <br/>         // Defines a custom dependency property which will store the current position of the media element (the part of the video currently being played)<br/>         public double CurrentPosition<br/>         {<br/>             get<br/>             {<br/>                 return (double)this.GetValue(CurrentPositionProperty);<br/>             }<br/>             set<br/>             {<br/>                 this.SetValue(CurrentPositionProperty, value);<br/>             }<br/>         }<br/> <br/>         private void StartDrag(object sender, System.Windows.Input.MouseButtonEventArgs e)<br/>         {<br/>             this.DragMove();<br/> <br/>Thu, 11 Jun 2009 14:23:21 Z2009-11-25T21:04:20Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/f0098598-184c-4a89-9cea-088ce8de48c4http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/f0098598-184c-4a89-9cea-088ce8de48c4Mike7491http://social.expression.microsoft.com/Profile/zh-TW/?user=Mike7491ExpBlend3: Renders object differently than VS 08! I wish I could post a picture!I have a small window I created with WPF in VS 08.  In VS 08 it is rendered in the WPF Designer exactly as it appears at runtime (about 98% accurate).  I just loaded the same project in to ExpBlend3.  It renders the same window on the design surface with the width and height about two times greater, and the controls no longer align properly.  Without making any changes, I press F5 in ExpBlend3 and the window runs just fine.  I truely do wish I could post an image of the two renderings side-by-side.Tue, 24 Nov 2009 21:17:26 Z2009-11-25T22:23:22Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/06ac883c-c3ab-43b6-88a2-41d7d80bf77ehttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/06ac883c-c3ab-43b6-88a2-41d7d80bf77egrogmoghttp://social.expression.microsoft.com/Profile/zh-TW/?user=grogmogBringing up a smaller, modal box with content linked to underlying pageI'm not a developer, and I'm running into something that I think I should be able to do in Expression, but can't.  It may be because I'm not calling the window the right thing (iframe? modal dialog? overlay? doohickey?).  <br/><br/>The behavior I'd like to illustrate is that I have a table of individual search results with summary information on each line.  If the user clicks on one of those lines, a smaller window pops up with the details of that search result contained in it.  If they click on another one of the summary lines, the content of the smaller window changes accordingly.  <br/><br/>I don't even need to necessarily display real data...but I can't even figure out how to call up the smaller window by clicking.  Everything I try seems to just take the user to a completely new page.  Thank you!Tue, 24 Nov 2009 18:08:30 Z2009-11-25T15:56:50Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/a159f7dc-f8b5-417d-8437-889ad3218fbahttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/a159f7dc-f8b5-417d-8437-889ad3218fbaitgoldhttp://social.expression.microsoft.com/Profile/zh-TW/?user=itgoldDrop Down MenusHi<br/>I am relitively new to Silverlight and xaml and I am wondering if its possible to create a dropdown menu list of hyperlinks in a Silverlight 3 project. I created a new project using the Silverlight 3 Bussiness Application template because of the type of navigation. This template gives me a horizontal menu across the top using hyperlink buttons. I can add new hyperlink buttons to new pages but i really want a dropdown from the main menu. I am currently using Visual Studio 2008 in VB and Expression Blend 3 to help create the application. I've tried to switch the hyperlink buttons for regular buttons but I end up lossing the navigation I need. Hear is the hyperlink code from the application:<br/><br/><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">Rectangle</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> x</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">:</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Divider1&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Style</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;{</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">StaticResource</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> DividerStyle</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">}&quot;/&gt;</span></span></p> <span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515"> <p> </p> <font size=2 color="#a31515"><font size=2 color="#a31515"> <p> </p> </font></font></span><font size=2 color="#a31515"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&lt;</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">HyperlinkButton</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> x</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">:</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Link4&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Style</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;{</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">StaticResource</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> LinkStyle</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">}&quot;</span></span><span style="font-size:x-small"> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">NavigateUri</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;/Objectives&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> TargetName</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;ContentFrame&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Content</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Objectives&quot;/&gt;</span></span></p> <span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515"> <p> </p> <font size=2 color="#a31515"><font size=2 color="#a31515"> <p> </p> </font></font></span><font size=2 color="#a31515"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&lt;</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">Rectangle</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> x</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">:</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Divider2&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Style</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;{</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">StaticResource</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> DividerStyle</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">}&quot;/&gt;</span></span></p> <span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515"> <p> </p> <font size=2 color="#a31515"><font size=2 color="#a31515"> <p> </p> </font></font></span><font size=2 color="#a31515"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&lt;</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">HyperlinkButton</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> x</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">:</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Link3&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Style</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;{</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">StaticResource</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> LinkStyle</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">}&quot;</span></span><span style="font-size:x-small"> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">NavigateUri</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;/Administration&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> TargetName</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;ContentFrame&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Content</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Admin&quot;/&gt;</span></span></p> <span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515"> <p> </p> <font size=2 color="#a31515"><font size=2 color="#a31515"> <p> </p> </font></font></span><font size=2 color="#a31515"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&lt;</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">Rectangle</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> x</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">:</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Divider3&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Style</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;{</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">StaticResource</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> DividerStyle</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">}&quot;/&gt;</span></span></p> <span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515"><font size=2 color="#a31515"><font size=2 color="#a31515"> <p> </p> </font></font></span><font size=2 color="#a31515"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&lt;</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">HyperlinkButton</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> x</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">:</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;Link2&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Style</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;{</span></span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">StaticResource</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> LinkStyle</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">}&quot;</span></span><span style="font-size:x-small"> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">NavigateUri</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;/About&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> TargetName</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;ContentFrame&quot;</span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000"> Content</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=&quot;about&quot;/&gt;<br/><br/>Any help or ideas would be greatly appriciated.<br/></span></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><strong>Thanks</strong></span></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">Rick</span></span></p>Wed, 25 Nov 2009 15:32:02 Z2009-11-25T15:32:04Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/c7576591-f1f0-447a-957a-8833d4d7fec4http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/c7576591-f1f0-447a-957a-8833d4d7fec4Angelica_grhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Angelica_grOpenFileDialog in Blend 3???I want to make with Expression Blend 3 a WPF project which does the following:<br/>  Press a Button --&gt; Opens a FileDialog --&gt; Choose a file from my computer --&gt; Take the file's name to open it <br/> <br/> How can i do that in Blend? Because i cannot find something similar to OpenFileDialog from .NET.Thu, 19 Nov 2009 09:45:23 Z2009-11-25T15:16:15Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/c4d80e39-dcda-4054-a3bc-142b4bb8965ehttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/c4d80e39-dcda-4054-a3bc-142b4bb8965esharathkumarhttp://social.expression.microsoft.com/Profile/zh-TW/?user=sharathkumarHow to Change the GroupBox Header Color In Expression Blend 2hi,<br/>      I am new to WPF ,i am using Expression Blend2 .i want to change the groupbox header color,Can any one suggest me how to change the groupbox header color.<br/> <br/> Regards,<br/> Sharath kumarMon, 23 Nov 2009 07:38:08 Z2009-11-25T14:45:37Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/a289238a-9b11-4c8d-9475-918ff26c1a8bhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/a289238a-9b11-4c8d-9475-918ff26c1a8bmely_aspecthttp://social.expression.microsoft.com/Profile/zh-TW/?user=mely_aspectListBox causes error when used<p>I created a list box, bound to an entry from an existing XML file, and it shows up fine and compiles until I run, then I can't bring up the dialog, getting this error:<br/><br/>Webpage error details</p> <p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)<br/>Timestamp: Tue, 24 Nov 2009 19:23:08 UTC</p> <p><br/>Message: Unhandled Error in Silverlight Application Exception has been thrown by the target of an invocation.   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandle&amp; ctor, Boolean&amp; bNeedSecurityCheck)<br/>   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)<br/>   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)<br/>   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)<br/>   at System.Activator.CreateInstance(Type type, Boolean nonPublic)<br/>   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>   at System.Reflection.Assembly.CreateInstance(String typeName)<br/>   at Microsoft.Expression.Prototyping.Workspace.PlayerWindow.InstantiateScreen(String screen, Boolean showImmediately)<br/>   at Microsoft.Expression.Prototyping.Workspace.PlayerWindow.TransitionScreens(String from, String to)<br/>   at Microsoft.Expression.Prototyping.Navigation.NavigationViewModel.NavigateToScreen(String name, Boolean record)<br/>Line: 1<br/>Char: 1<br/>Code: 0<br/>URI: <a href="http://localhost:50654/TestPage.html">http://localhost:50654/TestPage.html</a></p> <p><br/>Message: Unhandled Error in Silverlight Application Exception has been thrown by the target of an invocation.   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandle&amp; ctor, Boolean&amp; bNeedSecurityCheck)<br/>   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)<br/>   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)<br/>   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)<br/>   at System.Activator.CreateInstance(Type type, Boolean nonPublic)<br/>   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)<br/>   at System.Reflection.Assembly.CreateInstance(String typeName)<br/>   at Microsoft.Expression.Prototyping.Workspace.PlayerWindow.InstantiateScreen(String screen, Boolean showImmediately)<br/>   at Microsoft.Expression.Prototyping.Workspace.PlayerWindow.TransitionScreens(String from, String to)<br/>   at Microsoft.Expression.Prototyping.Navigation.NavigationViewModel.NavigateToScreen(String name, Boolean record)<br/>Line: 1<br/>Char: 1<br/>Code: 0<br/>URI: <a href="http://localhost:50654/TestPage.html">http://localhost:50654/TestPage.html</a></p> <p>Any suggestions?</p>Tue, 24 Nov 2009 19:31:37 Z2009-11-24T21:00:27Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/b980af60-7851-4da0-be1f-0e55f41a56a1http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/b980af60-7851-4da0-be1f-0e55f41a56a1dartraxhttp://social.expression.microsoft.com/Profile/zh-TW/?user=dartraxTarget Invocation Exception when activating Blend 3<p>Hi,<br/>I'm working on a wpf project in Visual Studio 2008 and Expression Blend 3.0.1921<br/>When I switch to Expression Blend or just after a while, this error pops up:<br/><br/>---------------------------<br/>Target Invocation Exception<br/>---------------------------<br/>Inner exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.</p> <p>   bei Microsoft.Expression.DesignModel.Core.ProjectContextType.Refresh()</p> <p>   bei Microsoft.Expression.DesignModel.Core.ProjectContext.OnAssemblyCollectionChanged(NotifyCollectionChangedEventArgs e)</p> <p>   bei Microsoft.Expression.DesignSurface.Documents.ProjectXamlContext.OnAssemblyCollectionChanged(NotifyCollectionChangedEventArgs e)</p> <p>   bei Microsoft.Expression.DesignSurface.Documents.ProjectXamlContext.ContextAssemblyCollection.AssemblyCollection_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)</p> <p>   bei System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)</p> <p>   bei Microsoft.Expression.Project.KnownProjectBase.AssemblyCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)</p> <p>   bei Microsoft.Expression.Project.KnownProjectBase.NonIncrementalAssemblyUpdate(Action updateAction)</p> <p>   bei Microsoft.Expression.Project.MSBuildBasedProject.UpdateAssemblyReferencesImmediately()</p> <p>   bei Microsoft.Expression.Project.KnownProjectBase.UpdateAssembliesAndChangedItemsIfPossible()</p> <p>   bei Microsoft.Expression.Project.MSBuildBasedProject.UpdateAssemblyReferences(List`1 updatedAssemblies)</p> <p>   bei Microsoft.Expression.Project.SolutionBase.Microsoft.Expression.Project.ISolutionManagement.ReactivateWatchers()</p> <p>   bei Microsoft.Expression.Project.ProjectManager.ApplicationActivated()<br/>---------------------------<br/>OK   <br/>---------------------------<br/><br/>I assume it occurs when expression blend is looking for changes that may have been made with Visual Studio.<br/>I'm able to work on with Expression blend if I ignore the message, as long as I do not click &quot;OK&quot;.<br/>If I do so, Expression blend is forced to quit.<br/><br/>dartrax</p>Fri, 17 Jul 2009 23:56:09 Z2009-11-24T20:59:10Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/2ea4df63-f21a-420e-a925-bd308d468d1ehttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/2ea4df63-f21a-420e-a925-bd308d468d1eMark Woodliefhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Mark%20WoodliefVisualTags and extensibility in Sketchup?I have a need to do some work with a client.  Sketchup is coming close to what i want to accomplish to get this project kicked off.  But, I've found a huge need to create my own Visuals for the Annotations and Shapes that get addded during annotations.  Does that make sense?  Basically I'd like to extend the silverlight UI a bit to allow other brushes and fills, not just sold colors.<br/><br/>I've figured out how to modify the flow xml to change the colors a bit but thats just not quite enough.  I have the skills to pull off most things technical in this arena no matter how hard the solution is, is there a solution?<br/><br/>Thoughts?<br/>Tue, 24 Nov 2009 20:35:43 Z2009-11-24T20:35:45Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/2dcb8110-0494-4601-900e-1f1c40550b6bhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/2dcb8110-0494-4601-900e-1f1c40550b6beteffnerhttp://social.expression.microsoft.com/Profile/zh-TW/?user=eteffnerSketchflow - automatically transition to next screenOk, I know there is probably a really simple way to do this, but I just can't seem to find it.  <div><br/></div> <div>What I need to do is once a particular screen comes up - I want this screen to be visible for about 5 seconds and then automatically transition to another screen.</div> <div><br/></div> <div>The screen is a &quot;install progress&quot; screen that just needs to be visible in the prototype for 5 or 6 seconds and then transition to the &quot;install complete&quot; page.</div> <div><br/></div> <div>THANKS!!</div> <div><br/></div> <div>Elizabeth</div> <div><br/></div> <div>In case this is relevant... the prototype is a WPF Sketchflow project...</div>Mon, 23 Nov 2009 20:31:34 Z2009-11-24T19:17:21Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/74b5e25b-33fd-4b67-92c2-24329623f20dhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/74b5e25b-33fd-4b67-92c2-24329623f20dZeeZuhttp://social.expression.microsoft.com/Profile/zh-TW/?user=ZeeZuSketckFlow ControlsI was trying to follow the tutorial-4 from Jeremy Osbon (Adding_Sketch_Style_Controls_to_Enhance_a_SketchFlow_Layout). I could not find the SketchStyle_Control on Sketchflow Map? can any body help please.<br/> <br/> Thanks<br/>Mon, 23 Nov 2009 23:09:14 Z2009-11-24T18:24:28Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/434ebcbc-4953-4fdc-8699-ae9a9931b782http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/434ebcbc-4953-4fdc-8699-ae9a9931b782bobjinkhttp://social.expression.microsoft.com/Profile/zh-TW/?user=bobjinkAuto resize usercontrols with drawings?So I have created this cool pulsing animation which looks like rings expanding in the water. The problem is though, that my animation is in a predetermined size. <br/> <br/> I have created the animation in a new usercontrol with the size 480*480. However the context I have to use it in, I might want it to be something like 20*20 or maybe 50*50. If I add my animation usercontrol to a window in fx 50*50 size the animation itself will still be in 480*480 where I can only see 50*50 part of it. What feature have I missed, that auto resize the usercontrol? :)<br/> <br/> Xaml code:<br/> <pre lang=x-xml>&lt;UserControl xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; mc:Ignorable=&quot;d&quot; xmlns:local=&quot;clr-namespace:Client&quot; x:Class=&quot;Client.BlipAnimation&quot; x:Name=&quot;UserControl&quot; d:DesignWidth=&quot;480&quot; d:DesignHeight=&quot;480&quot;&gt; &lt;UserControl.Resources&gt; &lt;Storyboard x:Key=&quot;OnLoaded1&quot;&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Width)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;200&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Height)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;200&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;/Storyboard&gt; &lt;Storyboard x:Key=&quot;Storyboard1&quot; RepeatBehavior=&quot;Forever&quot;&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Width)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Height)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing1&quot; Storyboard.TargetProperty=&quot;(UIElement.Opacity)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;0&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;0.995&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;0.995&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;0&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing2&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Width)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:06&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing2&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Height)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:06&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing3&quot; Storyboard.TargetProperty=&quot;(UIElement.Opacity)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;0&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;0&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;1&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:06&quot; Value=&quot;1&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:07&quot; Value=&quot;0&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing2&quot; Storyboard.TargetProperty=&quot;(UIElement.Opacity)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;0&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;0&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;1&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;1&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:06&quot; Value=&quot;0&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;Int32AnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing1&quot; Storyboard.TargetProperty=&quot;(Panel.ZIndex)&quot;&gt; &lt;SplineInt32KeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;0&quot;/&gt; &lt;SplineInt32KeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;1&quot;/&gt; &lt;/Int32AnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing1&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Width)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing1&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Height)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:01&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:02&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing&quot; Storyboard.TargetProperty=&quot;(UIElement.Opacity)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;1&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;0&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing3&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Width)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:06&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:07&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Storyboard.TargetName=&quot;blipRing3&quot; Storyboard.TargetProperty=&quot;(FrameworkElement.Height)&quot;&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:03&quot; Value=&quot;100&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:04&quot; Value=&quot;200&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:05&quot; Value=&quot;300&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:06&quot; Value=&quot;400&quot;/&gt; &lt;SplineDoubleKeyFrame KeyTime=&quot;00:00:07&quot; Value=&quot;480&quot;/&gt; &lt;/DoubleAnimationUsingKeyFrames&gt; &lt;/Storyboard&gt; &lt;/UserControl.Resources&gt; &lt;UserControl.Triggers&gt; &lt;EventTrigger RoutedEvent=&quot;FrameworkElement.Loaded&quot;&gt; &lt;BeginStoryboard Storyboard=&quot;{StaticResource Storyboard1}&quot;/&gt; &lt;/EventTrigger&gt; &lt;/UserControl.Triggers&gt; &lt;Grid x:Name=&quot;LayoutRoot&quot;&gt; &lt;local:BlipRing x:Name=&quot;blipRing&quot; Margin=&quot;0&quot; Width=&quot;100&quot; Height=&quot;100&quot; HorizontalAlignment=&quot;Center&quot; VerticalAlignment=&quot;Center&quot;/&gt; &lt;local:BlipRing x:Name=&quot;blipRing1&quot; Margin=&quot;0&quot; Width=&quot;0&quot; Height=&quot;0&quot;/&gt; &lt;local:BlipRing x:Name=&quot;blipRing2&quot; Margin=&quot;0&quot; Width=&quot;0&quot; Height=&quot;0&quot;/&gt; &lt;local:BlipRing x:Name=&quot;blipRing3&quot; Margin=&quot;0&quot; Width=&quot;100&quot; Height=&quot;100&quot;/&gt; &lt;/Grid&gt; &lt;/UserControl&gt;</pre>Tue, 24 Nov 2009 15:49:20 Z2009-11-24T17:45:57Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/5292a39b-4cf8-4cb6-8714-fb419be1b3achttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/5292a39b-4cf8-4cb6-8714-fb419be1b3acEric Lagelhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Eric%20LagelBehaviors: What to prefer between [Change Property], [Activate State], [Go to State]?I have been using Expression Blend for several months now, and I am still not clear what should be preferred to simply display or hide subwindows in a screen. <div><br/></div> <div>Use case: I have a specific window that I want to display upon pressing a button that belongs to a user control (&quot;Open&quot;) button. Once this window is displayed I want to be able to hide it by clicking a &quot;Close&quot; button that belongs to that window.</div> <div><br/></div> <div>Here is what I have in detail:</div> <div><br/></div> <div>I have a main page (Screen1), and I created a user control (Control1) that has the button &quot;Open&quot; in it. I turned the window into a component screen (ComponentScreen1). I also set 2 states for the component screen: &quot;Shown&quot; and &quot;Hidden&quot;. &quot;Shown&quot; sets Visibility to &quot;Visible&quot; and &quot;Hidden&quot; sets Visibility to &quot;Collapsed&quot;.</div> <div><br/></div> <div>I placed the elements in Screen1, so that I have on Screen1: Control 1 (that displays the button &quot;Open&quot;) and ComponentScreen1.</div> <div><br/></div> <div>Problem is that whatever I do, when I edit the button in the Control1 editing screen, I cannot make the button &quot;Open&quot; have any impact on the display of Component Screen1 in Screen1:</div> <div> <ul> <li>if I use [Change Property] behavior for a click on button &quot;Open&quot;, there is no choice for me to select the ComponentScreen1 in Screen1</li> <li>if I use [Activate State] behavior, whatever I put in the Target Screen (I tried the component name, everything...), and if I type &quot;Shown&quot; in the TargetState, nothing happens</li> <li>if I use [GoToState] behavior, I cannot select anything that is not in the current control (like in [Change Property] case).</li> </ul> <div>I assume I should use [Activate State] to make it happen, but there must be something that I don't get, because I cannot make it work.</div> <div><br/></div> <div>Any help out there?</div> <div><br/></div> <div>Thx</div> </div> <div><br/></div>Mon, 23 Nov 2009 14:43:00 Z2009-11-24T15:37:09Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/36f8e3a6-6a1d-4b11-b37f-5ff868141941http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/36f8e3a6-6a1d-4b11-b37f-5ff868141941Eric Lagelhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Eric%20LagelNaming - do's and don'ts? Noob questions.I am a bit confused by how and where you can name elements in Expression Blend. <div><br/></div> <div>Your start page (Sliverlight) is always named Screen1. That's alright. But when I rename it &quot;home&quot; for instance, using the UI (sketchflow), it seems like in the xaml, it is still named Screen 1. Or more precisely Screen_1. Nowhere in the code it is named &quot;home&quot;, which means that if I want to refer to it, I always have to use &quot;Screen_1&quot;. But more than that, I actually need to refer to is as &quot;ProjectnameScreens.Screen_1&quot;, for the Activate State behavior for example.</div> <div><br/></div> <div>Why is that? Why allow me to rename it &quot;Home&quot;, and not allow me to refer to it as &quot;Home&quot; anywhere?</div> <div><br/></div> <div>What is a namespace? I read about that concept here and there but cannot exactly figure out what it is.</div> <div><br/></div> <div>Can also anyone explicit me what the first lines in every xaml file mean:</div> <div><br/></div> <div>Example of the screen_1 of my &quot;Project&quot;:</div> <div><br/></div> <div> <div><span style="white-space:pre"> </span>xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</div> <div><span style="white-space:pre"> </span>xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</div> <div><span style="white-space:pre"> </span>xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;</div> <div><span style="white-space:pre"> </span>xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;</div> <div><span style="white-space:pre"> </span>mc:Ignorable=&quot;d&quot;</div> <div><span style="white-space:pre"> </span>xmlns:local=&quot;clr-namespace:ProjectScreens&quot;</div> <div><span style="white-space:pre"> </span>xmlns:i=&quot;clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity&quot; xmlns:pb=&quot;clr-namespace:Microsoft.Expression.Prototyping.Behavior;assembly=Microsoft.Expression.Prototyping.Interactivity&quot;</div> <div><span style="white-space:pre"> </span>x:Class=&quot;Project.Screen_1&quot;</div> <div><br/></div> <div>Thanks for your help, or if you can redirect me to a page where all of this is explicited, I'd be glad :).</div> </div>Tue, 24 Nov 2009 10:20:38 Z2009-11-24T15:35:35Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/bba515e4-1e39-4286-b4ea-779e01d59251http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/bba515e4-1e39-4286-b4ea-779e01d59251krishna21ehttp://social.expression.microsoft.com/Profile/zh-TW/?user=krishna21eData read problem in silverlight which is sent from asp.net using DataContractJsonSerializer<span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">List</span></span><span style="font-size:x-small">&lt;</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">StateData</span></span><span style="font-size:x-small">&gt; sdL = GetStates();<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">DataContractJsonSerializer</span></span><span style="font-size:x-small"> spSer = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">DataContractJsonSerializer</span></span><span style="font-size:x-small">(</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">typeof</span></span><span style="font-size:x-small">(</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">List</span></span><span style="font-size:x-small">&lt;</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">StateData</span></span><span style="font-size:x-small">&gt;));<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">MemoryStream</span></span><span style="font-size:x-small"> msSP = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">MemoryStream</span></span><span style="font-size:x-small">();<span style="font-size:x-small"> <p>spSer.WriteObject(msSP, sdL);</p> <font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small"> spJson = ConvertMemoryStreamToString(msSP);<br/><span style="font-size:x-small"><font size=2> <p>Xaml1.InitParameters =</p> </font></span> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;SearchLoad =&quot;</span></span><span style="font-size:x-small"> + spJson + </span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;&quot;</span></span><span style="font-size:x-small">;<br/><br/><br/><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>private</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small"> ConvertMemoryStreamToString(</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">MemoryStream</span></span><span style="font-size:x-small"> m) <p>{</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span></span><span style="font-size:x-small"> (m == </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span></span><span style="font-size:x-small"> || m.Length == 0)<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">return</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span></span><span style="font-size:x-small">; <p>m.Flush();</p> <p>m.Position = 0;</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">StreamReader</span></span><span style="font-size:x-small"> sr = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">StreamReader</span></span><span style="font-size:x-small">(m);<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small"> s = sr.ReadToEnd();<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">return</span></span><span style="font-size:x-small"> s; <p>}<br/><br/>once the initparameters is set, when i try to access the same variable in silverlight page  i am not able to read correctly.<br/><br/>silverlight page code<br/><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small"> data = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span></span><span style="font-size:x-small">;<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">byte</span></span><span style="font-size:x-small">[] parmsBytes;<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">MemoryStream</span></span><span style="font-size:x-small"> ms = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span></span><span style="font-size:x-small">;<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">DataContractJsonSerializer</span></span><span style="font-size:x-small"> ser = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span></span><span style="font-size:x-small">;<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span></span><span style="font-size:x-small"> (</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span></span><span style="font-size:x-small"> != e.InitParams[</span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;SearchLoad&quot;</span></span><span style="font-size:x-small">]) <p>{</p> <font size=2> <p>data = e.InitParams[</p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;SearchLoad&quot;</span></span><span style="font-size:x-small">].Replace(</span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;%2c&quot;</span></span><span style="font-size:x-small">, </span><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;,&quot;</span></span><span style="font-size:x-small">);</span></p> <span style="font-size:x-small"><font size=2> <p>parmsBytes =</p> </font></span> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Encoding</span></span><span style="font-size:x-small">.UTF8.GetBytes(data);<font size=2> <p>ms =</p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">MemoryStream</span></span><span style="font-size:x-small">(); <p>ms.Write(parmsBytes, 0, parmsBytes.Length);</p> <p> </p> <font size=2> <p>ser =</p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">DataContractJsonSerializer</span></span></p> <span style="font-size:x-small"><font size=2> <p>(</p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">typeof</span></span><span style="font-size:x-small">(</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">List</span></span><span style="font-size:x-small">&lt;</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">StateData</span></span><span style="font-size:x-small">&gt;));<font size=2> <p>_SearchState = ser.ReadObject(ms)</p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">as</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">List</span></span><span style="font-size:x-small">&lt;</span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">StateData</span></span><span style="font-size:x-small">&gt;; <p>}<br/><br/>i am getting error since data has only one value i mean first value of an object(stateid), rest of the values are coming <br/>in keys of initparams.<br/><br/>how do access the value from initparams?<br/>is there any limit for init params?<br/>how do i pass the object parameter to silverlight from asp.net apart from initparameters, is there any other option?<br/><br/>please do the needful at the earliest.<br/><br/>Thanks,<br/>Krishna</p> </span></p> </span></p> </span></p> </span></p> </span></p>Tue, 24 Nov 2009 05:44:34 Z2009-11-24T05:44:35Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/a6c45020-2ef8-4c32-9b95-ac5a476574b6http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/a6c45020-2ef8-4c32-9b95-ac5a476574b6Pierluigi A.http://social.expression.microsoft.com/Profile/zh-TW/?user=Pierluigi%20A.Animation work in blend but in IE8....My animations work in Blend 3, but when i run my project in IE8 i don't see any animations? Why ???<br/>Thank's for help !Sun, 22 Nov 2009 10:51:09 Z2009-11-24T15:55:30Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/8c59ae72-227d-4c4a-bb07-f4cb4f4a8f0bhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/8c59ae72-227d-4c4a-bb07-f4cb4f4a8f0bTheNewByhttp://social.expression.microsoft.com/Profile/zh-TW/?user=TheNewByunable to find the specified file for resource directoryhey guys, <div><br/></div> <div>i designed a theme for our application and i put the design (the xaml file and images) in a separate project so that other projects can reference the style and use them.</div> <div><br/></div> <div>everything worked fine until we decided to move my design to a core class library project which contains common controls and themes.</div> <div><br/></div> <div>i updated the reference in my projects and the projects compile and run without any problem, but in blend i cannot access the resource directory due to an error saying &quot;Unable to find the specified file&quot;. which is my xaml file contains all my design. </div> <div><br/></div> <div>and now i am not able to edit my design because i cannot open them.</div> <div><br/></div> <div>does anyone knows what's wrong in here??</div> <div><br/></div> <div>many thanks</div>Fri, 20 Nov 2009 02:08:55 Z2009-11-24T04:08:56Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/64c29f7f-127d-4c17-9775-ed4099726d60http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/64c29f7f-127d-4c17-9775-ed4099726d60sharpasDOHhttp://social.expression.microsoft.com/Profile/zh-TW/?user=sharpasDOHhow to program a button to go to another pageI have been tring for hours to sort this but the help file is useless for basic navigation but no one in here has a problem like this so I think I'm being stupid but how do I get the next button to go to the next page or can you publish sketchflow programs because it would be easy in that. :-)Fri, 20 Nov 2009 17:53:24 Z2009-11-23T18:13:29Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/df04fe19-e5eb-4b75-a01d-b084c7ff0e8chttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/df04fe19-e5eb-4b75-a01d-b084c7ff0e8cjävlabandithttp://social.expression.microsoft.com/Profile/zh-TW/?user=j%u00e4vlabanditHOW?? Silverlight menu to EW pages..I've been searching around ALOT...<br/> I've created buttons in Silverlight 3. Rectangles and &quot;empty buttons&quot;. Lets say their names are &quot;Home&quot; and &quot;About&quot;... In Expression web 3 I made 2 html pages named &quot;Home&quot; and &quot;About&quot;. How can I make the Silverlight HOME-button connect to the EW3 HOME-page and vice versa??<br/> <br/> I'm a neewbie so please explain in baby-language.. ;DFri, 20 Nov 2009 14:08:27 Z2009-11-23T18:03:11Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/e8d0971a-7ec9-4031-a150-2d4ef3118800http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/e8d0971a-7ec9-4031-a150-2d4ef3118800Boudewijn Plomphttp://social.expression.microsoft.com/Profile/zh-TW/?user=Boudewijn%20PlompCan you use sketchflow to built a website in Expression Web?Hi,<br/><br/>You can use sketchflow to make a project and use it in sketchflow. But can you also use it to create a quality website in Expression Web?<br/><br/>I must admit, I am relativly new to web design in depth. I want to built a high quality website. I currently doubt, do I have to make a standard website in Expression Web and add Silverlight content. Or is it better to make a design in Sketshflow and built the total website in Blend?<br/><br/>BoudewijnFri, 18 Sep 2009 15:01:38 Z2009-11-23T15:57:46Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/40866628-7cd6-4c0f-9a26-4fe5b397d1b9http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/40866628-7cd6-4c0f-9a26-4fe5b397d1b9Kostenhttp://social.expression.microsoft.com/Profile/zh-TW/?user=KostenImage in SketchFlow <span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;font-size:13px;color:#333333;line-height:16px">Hello!<br/>How can I set background image on SketchFlow screen?</span>Sun, 22 Nov 2009 11:55:22 Z2009-11-23T14:56:36Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/cf77e2b0-b695-422c-9314-917f2e74bee9http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/cf77e2b0-b695-422c-9314-917f2e74bee9GearWorldhttp://social.expression.microsoft.com/Profile/zh-TW/?user=GearWorldEncoding in H.264 for Silverlight, generates a .MP4 however...When trying to play the video with ExpressionMediaPlayer template on my site it gies the error AG_E_NETWORK_ERROR<br/>Any ideas ?<br/>All other videos are playing which are all .WMV !<br/>Sun, 22 Nov 2009 18:50:02 Z2009-11-22T18:53:05Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/fa77130b-6d9a-4ec2-848f-0f6c6d24d371http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/fa77130b-6d9a-4ec2-848f-0f6c6d24d371Gamewriterhttp://social.expression.microsoft.com/Profile/zh-TW/?user=GamewriterWhen trying to extract files from VentureIntoGaming_ExpressionBlend3_StarterKit.zip I get a message box that states "File 'App.xaml' is password protected. "I'm just getting started in Expression Blend and Visual Studio C# on a Windows XP platform. I have both programs installed, and I'm looking for tutorials. <br/> <br/> How do I find the password for extracting the starter kit? Google and forum searches reveal nothing, except that at the Silverlight Team Blog, there are two comments: <a title="Visit Silverlight Team's site" href="http://team.silverlight.net/announcement/starter-kits-available-for-sketchflow-and-behaviors/" title="Visit Silverlight Team's site">Silverlight Team</a> says, &quot;You can access the toolkit (in a .zip) by simply right-clicking and saving. Thanks!&quot; And then <a title="Visit Ted Cronin's site" href="http://team.silverlight.net/announcement/starter-kits-available-for-sketchflow-and-behaviors/" title="Visit Ted Cronin's site">Ted Cronin</a> says simply that it's password protected. <br/> <br/> The last time I programmed was Borland C in the 90s. I'm getting back into it and it seems like Bizarro World. Why is part of a learning tool password protected?Sun, 22 Nov 2009 01:20:50 Z2009-11-22T01:20:51Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/58095ae1-072d-45c9-9d59-a77316b420fahttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/58095ae1-072d-45c9-9d59-a77316b420faBrandon Potterhttp://social.expression.microsoft.com/Profile/zh-TW/?user=Brandon%20PotterReproduceable Blend 3 Crash on Windows 7 64-bitI am about to go crazy with this. Pretty new install of Windows 7, Visual Studio 2008 + SP1, Silverlight Tools 3 for VS2008 SP1, and Blend 3 3.0.1927.0, Windows Updates are up to date.<br/> <br/> I can create a brand new WPF project in Blend 3, and as soon as I try to add a control, it crashes. I have reinstalled VS2008 SP1 and Silverlight_Tools.exe (a solution from another post) to no avail. If I try to open an existing project and edit any controls, it crashes. The only thing that doesn't crash seems like the About box.<br/> <br/> <strong>Update: </strong> I can, however, add a Border control. Once I add a Button, Slider, etc, a crash occurs.<br/> <br/> I created a Problem Steps Recorder report here: http://static.x9tech.com/XNT/BlendCrash/Blend3CrashPSR.zip<br/> <br/> I have tried running blend.exe with the exception logging switch, but this crash does not launch an exception report when it happens (I got nothing).<br/> <br/> If anyone has experienced this and found a solution, please let me know... extremely frustrating. :(<br/> <br/> Brandon <hr class=sig> Brandon PotterSat, 21 Nov 2009 23:31:36 Z2009-11-21T23:31:38Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/ce3c2425-6efe-446d-aba9-95af801c1a14http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/ce3c2425-6efe-446d-aba9-95af801c1a14Nils Borehttp://social.expression.microsoft.com/Profile/zh-TW/?user=Nils%20BoreImage source binding<p>I did this little xaml code which binds the image source to a little resource:<br/>&lt;UserControl<br/> xmlns=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation">http://schemas.microsoft.com/winfx/2006/xaml/presentation</a>&quot;<br/> xmlns:x=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>&quot;<br/> xmlns:System=&quot;clr-namespace:System;assembly=System&quot;<br/> xmlns:dataFormToolkit=&quot;clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit&quot;<br/> x:Class=&quot;SilverlightApplication13.MainPage&quot;<br/> Width=&quot;640&quot; Height=&quot;480&quot;&gt;<br/>&lt;UserControl.Resources&gt;<br/>&lt;System:Uri x:Key=&quot;Uri1&quot;&gt;Jellyfish.jpg&lt;/System:Uri&gt;<br/>&lt;System:Uri x:Key=&quot;Uri2&quot;&gt;Chrysanthemum.jpg&lt;/System:Uri&gt;</p> <p>&lt;/UserControl.Resources&gt;<br/> &lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;White&quot;&gt;<br/>  <br/>  &lt;Image x:Name=&quot;uio&quot; Margin=&quot;180,113,163,157&quot; Source=&quot;{Binding UriSource, Mode=OneWay}&quot; &gt;<br/>   <br/>   <br/>   &lt;Image.DataContext&gt;<br/>    &lt;BitmapImage UriSource=&quot;{StaticResource Uri2}&quot;/&gt;<br/>   &lt;/Image.DataContext&gt;<br/>   <br/>  &lt;/Image&gt;<br/>  &lt;Button x:Name=&quot;button&quot; Height=&quot;38&quot; Margin=&quot;287,0,274,67&quot; VerticalAlignment=&quot;Bottom&quot; Content=&quot;Click&quot;/&gt;<br/> &lt;/Grid&gt;<br/>&lt;/UserControl&gt;<br/><br/>When I run this code I get an error message:<br/>Détails de l’erreur de la page Web</p> <p>Agent utilisateur : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)<br/>Horodateur : Sun, 15 Nov 2009 13:03:53 UTC</p> <p><br/>Message : Unhandled Error in Silverlight Application AG_E_PARSER_BAD_TYPE [Line: 9 Position: 25]   à System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)<br/>   à SilverlightApplication13.MainPage.InitializeComponent()<br/>   à SilverlightApplication13.MainPage..ctor()<br/>   à SilverlightApplication13.App.Application_Startup(Object o, StartupEventArgs e)<br/>   à System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)<br/>   à MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)<br/>Ligne : 1<br/>Caractère : 1<br/>Code : 0<br/>URI : <a href="http://localhost:50890/Silverlight.js">http://localhost:50890/Silverlight.js</a></p> <p>What's wrong?</p>Sun, 15 Nov 2009 13:04:40 Z2009-11-21T21:39:58Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/48e3c777-485b-4103-8236-f1fc73f36dafhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/48e3c777-485b-4103-8236-f1fc73f36dafCompy234http://social.expression.microsoft.com/Profile/zh-TW/?user=Compy234Popup menus in expression blend 3 (desktop application)Hey,<br/> <br/> I have a desktop application that I am writing in Blend 3. I know how to make context menus, which is all groovy. However I have a button that I want to have a menu pop up/out from when its clicked (not right clicked), no I used to just be able to create menus in the old winforms world and say menu.show(x,y) or whatnot, how can I create a menu in blend that will only show at a certain x,y coordinate when the button is clicked? If I create a menu, it wants to show it on the page (as if im designing a file menu or whatnot).<br/> <br/> Any ideas?Fri, 20 Nov 2009 18:04:25 Z2009-11-21T14:57:42Zhttp://social.expression.microsoft.com/Forums/zh-TW/blend/thread/4f032fdc-48a0-4c60-9659-8f020aa46bb7http://social.expression.microsoft.com/Forums/zh-TW/blend/thread/4f032fdc-48a0-4c60-9659-8f020aa46bb7LordTitanhttp://social.expression.microsoft.com/Profile/zh-TW/?user=LordTitanVisualStateManager and the TabControlHi,<br/><br/>I'm having some trouble with States in my sketchflow app. I want to be able to turn tabs (in a tab control) on or off bepending on the selected value of a combo box on the first tab item.<br/><br/>I've tried creating two different states (one for each item in the combo) but how do I switch to these states depending on when ComboBoxItem is selected?Fri, 20 Nov 2009 12:09:27 Z2009-11-21T13:32:49Z