<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Rénald's Blog - Blend 3.0</title>
    <link>http://www.renaldnollet.com/blog/</link>
    <description />
    <language>en-us</language>
    <copyright>Rénald Nollet</copyright>
    <lastBuildDate>Mon, 03 Aug 2009 20:37:42 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>rno.rno.rno@gmail.com</managingEditor>
    <webMaster>rno.rno.rno@gmail.com</webMaster>
    <item>
      <trackback:ping>http://www.renaldnollet.com/blog/Trackback.aspx?guid=0c12df65-9725-4cb4-970d-4a71ca9e81c4</trackback:ping>
      <pingback:server>http://www.renaldnollet.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.renaldnollet.com/blog/PermaLink,guid,0c12df65-9725-4cb4-970d-4a71ca9e81c4.aspx</pingback:target>
      <dc:creator>Rénald Nollet</dc:creator>
      <wfw:comment>http://www.renaldnollet.com/blog/CommentView,guid,0c12df65-9725-4cb4-970d-4a71ca9e81c4.aspx</wfw:comment>
      <wfw:commentRss>http://www.renaldnollet.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0c12df65-9725-4cb4-970d-4a71ca9e81c4</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p style="margin-left: 18pt">
Here is a guide to implement a Silverlight 3.0 coverflow based on a Sharepoint contact
list (WSS 3.0 or MOSS 2007). 
</p>
        <p style="margin-left: 18pt">
The steps I'll follow are: 
</p>
        <blockquote>
          <p>
            <strong>In this post : </strong>
          </p>
          <ol style="margin-left: 72pt">
            <li>
Implement the Silverlight coverflow 
</li>
          </ol>
        </blockquote>
        <blockquote>
          <p>
            <strong>In a next post : </strong>
          </p>
          <ol style="margin-left: 72pt">
            <li>
Customize a sharepoint contacts library 
</li>
            <li>
Implement the Sharepoint contacts extraction 
</li>
            <li>
Deploy the XAP in Sharepoint 
</li>
            <li>
Add the Silverlight application to a Sharepoint page 
</li>
          </ol>
        </blockquote>
        <p>
        </p>
        <ol>
          <li>
            <h2>Implement the Silverlight coverflow 
</h2>
          </li>
        </ol>
        <p>
        </p>
        <p style="margin-left: 18pt">
Keep it simple; there is a very cool Ms-PL licensed Silverlight coverflow on Codeplex
: <a href="http://silverlightcoverflow.codeplex.com/">http://silverlightcoverflow.codeplex.com/</a></p>
        <p style="margin-left: 18pt">
Using this coverflow (contained in a StackPanel), we can customize its DataTemplate
to customize the rendering of the data inside the coverflow. 
</p>
        <p style="margin-left: 18pt">
What I want here is for each coverflow item to show a contact picture and name. 
</p>
        <p style="margin-left: 18pt">
        </p>
        <p style="margin-left: 18pt">
In Blend 3.0, I can use the context menu of my coverflow control in the artboard and
ask to edit additional templates and then the ItemTemplate : 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight1.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
I'll work with a Border containing a StackPanel. This StackPanel will itself contain
an Image and a Texblock. 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight2.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
Here is how it will look like in Blend after the data binding setup (see further): 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight3.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
I'll also create a small StackPanel under the coverflow StackPanel to show the user
mail in a TextBlock. 
</p>
        <p style="margin-left: 18pt">
        </p>
        <p style="margin-left: 18pt">
          <span style="color:#1f497d">
            <strong>MVVM </strong>
          </span>
        </p>
        <p style="margin-left: 18pt">
        </p>
        <p style="margin-left: 18pt">
In my project, I use the MVVM (Model-View-ViewModel) pattern for the separation of
concerns : <a href="http://msdn.microsoft.com/en-us/magazine/dd458800.aspx">http://msdn.microsoft.com/en-us/magazine/dd458800.aspx</a>. 
</p>
        <p style="margin-left: 18pt">
The model for this coverflow will consist of a contact list and a selected contact. 
</p>
        <p style="margin-left: 18pt">
Here is the simple implementation of a contact : 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight4.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
The next step is the creation of the ViewModel . The ViewModel implements the INotifyPropertyChanged
for the properties value changes notifications. 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight5.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
By implementing this interface, I must add the PropertyChanged event to my class. 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight6.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
The ViewModel will expose an ObservableCollection of contacts and a single contact
representing the selected contact. The ObservableCollection has a built-in notification
feature. On the other side, I must notify the client when the selectedContact changes. 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight7.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
The RaisePropertyChanged method body to raise the PropertyChanged event is implemented
like this : 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight8.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
Finally, I create a test sample in the constructor of my ViewModel 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight9.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
        </p>
        <p style="margin-left: 18pt">
          <span style="color:#1f497d">
            <strong>DataBinding </strong>
          </span>
        </p>
        <p style="margin-left: 18pt">
        </p>
        <p style="margin-left: 18pt">
Once all of that is done, we can come back to the view and setup the databinding.
The nice thing with Silverlight 3.0/Blend 3.0 is that we can do almost everything
in Blend. 
</p>
        <p style="margin-left: 18pt">
The first thing to allow this ease is to reference the ViewModel in the resources
(here inside my usercontrol XAML file) : 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight10.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
After this setup, I can reference the DataContext of my LayoutRoot to this Resource
inside Blend. 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight11.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
Then, I'll reference the ItemSource of the coverflow to the contacts ObservableCollection
of the ViewModel, once again in Blend. 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight12.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
And finally work like this again for the databinding of my controls. As an example,
here is the Blend setup for the Image Data Binding of my coverflow ItemTemplate : 
</p>
        <p style="margin-left: 18pt">
          <img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight13.png" alt="" />
        </p>
        <p style="margin-left: 18pt">
A few more things are necessary for this first iteration to work. I won't detail them
here. 
</p>
        <p style="margin-left: 18pt">
Download the code for the finished version of this sample: <a href="http://cid-a41cdd0007ab3b26.skydrive.live.com/self.aspx/Samples/CoverFlowV1.zip">http://cid-a41cdd0007ab3b26.skydrive.live.com/self.aspx/Samples/CoverFlowV1.zip</a></p>
        <p style="margin-left: 18pt">
Next time, we'll train on the Sharepoint side of it. 
</p>
        <p style="margin-left: 18pt">
See you later, 
</p>
        <p style="margin-left: 18pt">
        </p>
        <p style="margin-left: 18pt">
Rénald
</p>
        <img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=0c12df65-9725-4cb4-970d-4a71ca9e81c4" />
      </body>
      <title>Silverlight coverflow of Sharepoint contacts : part I</title>
      <guid isPermaLink="false">http://www.renaldnollet.com/blog/PermaLink,guid,0c12df65-9725-4cb4-970d-4a71ca9e81c4.aspx</guid>
      <link>http://www.renaldnollet.com/blog/2009/08/03/SilverlightCoverflowOfSharepointContactsPartI.aspx</link>
      <pubDate>Mon, 03 Aug 2009 20:37:42 GMT</pubDate>
      <description>&lt;p style="margin-left: 18pt"&gt;
Here is a guide to implement a Silverlight 3.0 coverflow based on a Sharepoint contact
list (WSS 3.0 or MOSS 2007). 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
The steps I'll follow are: 
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
&lt;strong&gt;In this post : &lt;/strong&gt;
&lt;/p&gt;
&lt;ol style="margin-left: 72pt"&gt;
&lt;li&gt;
Implement the Silverlight coverflow 
&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;&lt;blockquote&gt;
&lt;p&gt;
&lt;strong&gt;In a next post : &lt;/strong&gt;
&lt;/p&gt;
&lt;ol style="margin-left: 72pt"&gt;
&lt;li&gt;
Customize a sharepoint contacts library 
&lt;/li&gt;
&lt;li&gt;
Implement the Sharepoint contacts extraction 
&lt;/li&gt;
&lt;li&gt;
Deploy the XAP in Sharepoint 
&lt;/li&gt;
&lt;li&gt;
Add the Silverlight application to a Sharepoint page 
&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;h2&gt;Implement the Silverlight coverflow 
&lt;/h2&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Keep it simple; there is a very cool Ms-PL licensed Silverlight coverflow on Codeplex
: &lt;a href="http://silverlightcoverflow.codeplex.com/"&gt;http://silverlightcoverflow.codeplex.com/&lt;/a&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Using this coverflow (contained in a StackPanel), we can customize its DataTemplate
to customize the rendering of the data inside the coverflow. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
What I want here is for each coverflow item to show a contact picture and name. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
In Blend 3.0, I can use the context menu of my coverflow control in the artboard and
ask to edit additional templates and then the ItemTemplate : 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight1.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
I'll work with a Border containing a StackPanel. This StackPanel will itself contain
an Image and a Texblock. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight2.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Here is how it will look like in Blend after the data binding setup (see further): 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight3.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
I'll also create a small StackPanel under the coverflow StackPanel to show the user
mail in a TextBlock. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;span style="color:#1f497d"&gt;&lt;strong&gt;MVVM &lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
In my project, I use the MVVM (Model-View-ViewModel) pattern for the separation of
concerns : &lt;a href="http://msdn.microsoft.com/en-us/magazine/dd458800.aspx"&gt;http://msdn.microsoft.com/en-us/magazine/dd458800.aspx&lt;/a&gt;. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
The model for this coverflow will consist of a contact list and a selected contact. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Here is the simple implementation of a contact : 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight4.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
The next step is the creation of the ViewModel . The ViewModel implements the INotifyPropertyChanged
for the properties value changes notifications. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight5.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
By implementing this interface, I must add the PropertyChanged event to my class. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight6.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
The ViewModel will expose an ObservableCollection of contacts and a single contact
representing the selected contact. The ObservableCollection has a built-in notification
feature. On the other side, I must notify the client when the selectedContact changes. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight7.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
The RaisePropertyChanged method body to raise the PropertyChanged event is implemented
like this : 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight8.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Finally, I create a test sample in the constructor of my ViewModel 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight9.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;span style="color:#1f497d"&gt;&lt;strong&gt;DataBinding &lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Once all of that is done, we can come back to the view and setup the databinding.
The nice thing with Silverlight 3.0/Blend 3.0 is that we can do almost everything
in Blend. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
The first thing to allow this ease is to reference the ViewModel in the resources
(here inside my usercontrol XAML file) : 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight10.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
After this setup, I can reference the DataContext of my LayoutRoot to this Resource
inside Blend. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight11.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Then, I'll reference the ItemSource of the coverflow to the contacts ObservableCollection
of the ViewModel, once again in Blend. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight12.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
And finally work like this again for the databinding of my controls. As an example,
here is the Blend setup for the Image Data Binding of my coverflow ItemTemplate : 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/080309_2030_Silverlight13.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
A few more things are necessary for this first iteration to work. I won't detail them
here. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Download the code for the finished version of this sample: &lt;a href="http://cid-a41cdd0007ab3b26.skydrive.live.com/self.aspx/Samples/CoverFlowV1.zip"&gt;http://cid-a41cdd0007ab3b26.skydrive.live.com/self.aspx/Samples/CoverFlowV1.zip&lt;/a&gt; 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Next time, we'll train on the Sharepoint side of it. 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
See you later, 
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
&lt;/p&gt;
&lt;p style="margin-left: 18pt"&gt;
Rénald
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=0c12df65-9725-4cb4-970d-4a71ca9e81c4" /&gt;</description>
      <comments>http://www.renaldnollet.com/blog/CommentView,guid,0c12df65-9725-4cb4-970d-4a71ca9e81c4.aspx</comments>
      <category>Blend 3.0</category>
      <category>Silverlight 3.0</category>
    </item>
    <item>
      <trackback:ping>http://www.renaldnollet.com/blog/Trackback.aspx?guid=8df55f29-8a08-4da2-9264-bcebca1b8858</trackback:ping>
      <pingback:server>http://www.renaldnollet.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.renaldnollet.com/blog/PermaLink,guid,8df55f29-8a08-4da2-9264-bcebca1b8858.aspx</pingback:target>
      <dc:creator>Rénald Nollet</dc:creator>
      <wfw:comment>http://www.renaldnollet.com/blog/CommentView,guid,8df55f29-8a08-4da2-9264-bcebca1b8858.aspx</wfw:comment>
      <wfw:commentRss>http://www.renaldnollet.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8df55f29-8a08-4da2-9264-bcebca1b8858</wfw:commentRss>
      <title>Enabling offline feature of Silverlight 3 : Home Loan Application V 0.2</title>
      <guid isPermaLink="false">http://www.renaldnollet.com/blog/PermaLink,guid,8df55f29-8a08-4da2-9264-bcebca1b8858.aspx</guid>
      <link>http://www.renaldnollet.com/blog/2009/07/19/EnablingOfflineFeatureOfSilverlight3HomeLoanApplicationV02.aspx</link>
      <pubDate>Sun, 19 Jul 2009 20:01:23 GMT</pubDate>
      <description>&lt;p&gt;
It's so easy to enable the offline feature of Silverlight 3 ! &lt;span style="font-family:Wingdings"&gt;J&lt;/span&gt; 
&lt;/p&gt;
&lt;p&gt;
In Visual Studio, just go to your project properties. In the Silverlight tab, you'll
find an "enable running application out of the browser". 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071909_2000_Enablingoff1.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
If you check the checkbox, the button « Out-of-Brower Settings » will be enabled. 
&lt;/p&gt;
&lt;p&gt;
Clicking on this button, you'll find this dialog screen: 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071909_2000_Enablingoff2.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
This is where you can customize the settings for the offline application: 
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
The title, width and height of the windows. 
&lt;/li&gt;
&lt;li&gt;
The name of the shortcut. 
&lt;/li&gt;
&lt;li&gt;
A description that will become the comment property of the shortcut (on windows). 
&lt;/li&gt;
&lt;li&gt;
Different size icons. Pay attention, the icons must be in PNG format. 
&lt;/li&gt;
&lt;li&gt;
A checkbox to use or not the GPU acceleration. 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Here is the resulting OutOfBrowserSettings.xml in the case of my Home Loan Application
: 
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;OutOfBrowserSettings&lt;/span&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;ShortName&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;Home
Loan Calculator&lt;/span&gt;"&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;EnableGPUAcceleration&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;False&lt;/span&gt;"&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;ShowInstallMenuItem&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;True&lt;/span&gt;"&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;OutOfBrowserSettings.Blurb&lt;/span&gt;&lt;span style="color:blue"&gt;&gt;&lt;/span&gt;HomeLoanCalculator
Application on your desktop; at home, at work or on the go.&lt;span style="color:blue"&gt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;OutOfBrowserSettings.Blurb&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;OutOfBrowserSettings.WindowSettings&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;WindowSettings&lt;/span&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;Title&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;Home
Loan Calculator Application&lt;/span&gt;"&lt;span style="color:blue"&gt; /&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;OutOfBrowserSettings.WindowSettings&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;OutOfBrowserSettings.Icons&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;Size&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;16,16&lt;/span&gt;"&lt;span style="color:blue"&gt;&gt;&lt;/span&gt;Images/Icon16.png&lt;span style="color:blue"&gt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;Size&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;32,32&lt;/span&gt;"&lt;span style="color:blue"&gt;&gt;&lt;/span&gt;Images/Icon32.png&lt;span style="color:blue"&gt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;Size&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;48,48&lt;/span&gt;"&lt;span style="color:blue"&gt;&gt;&lt;/span&gt;Images/Icon48.png&lt;span style="color:blue"&gt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;Size&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;"&lt;span style="color:blue"&gt;128,128&lt;/span&gt;"&lt;span style="color:blue"&gt;&gt;&lt;/span&gt;Images/Icon128.png&lt;span style="color:blue"&gt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Icon&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;/span&gt; &lt;span style="color:#a31515"&gt;OutOfBrowserSettings.Icons&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-family:Courier New; font-size:10pt"&gt;&lt;span style="color:blue"&gt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;OutOfBrowserSettings&lt;/span&gt;&lt;span style="color:blue"&gt;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
This file is saved in the Properties folder of my project. 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071909_2000_Enablingoff3.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
In Blend 3.0 RC, it's also possible to enable the offline feature in this menu path
: 
&lt;/p&gt;
&lt;p&gt;
Project &gt; Silverlight Project Options &gt; Enable Application Outside Browser 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071909_2000_Enablingoff4.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
But I don't see where the settings (icons, window title, …) are. 
&lt;/p&gt;
&lt;p&gt;
To test the offline feature describe in this post for my Home Loan Application, go
there : &lt;a href="http://www.renaldnollet.com/samples/HomeLoanSL3V0_2/"&gt;http://www.renaldnollet.com/samples/HomeLoanSL3V0_2/&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
See you! 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=8df55f29-8a08-4da2-9264-bcebca1b8858" /&gt;</description>
      <comments>http://www.renaldnollet.com/blog/CommentView,guid,8df55f29-8a08-4da2-9264-bcebca1b8858.aspx</comments>
      <category>Blend 3.0</category>
      <category>Silverlight 3.0</category>
    </item>
    <item>
      <trackback:ping>http://www.renaldnollet.com/blog/Trackback.aspx?guid=db613e01-5cd9-4aed-a90e-c95862a7287a</trackback:ping>
      <pingback:server>http://www.renaldnollet.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.renaldnollet.com/blog/PermaLink,guid,db613e01-5cd9-4aed-a90e-c95862a7287a.aspx</pingback:target>
      <dc:creator>Rénald Nollet</dc:creator>
      <wfw:comment>http://www.renaldnollet.com/blog/CommentView,guid,db613e01-5cd9-4aed-a90e-c95862a7287a.aspx</wfw:comment>
      <wfw:commentRss>http://www.renaldnollet.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=db613e01-5cd9-4aed-a90e-c95862a7287a</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Blend 3.0 RC is there and it's pretty exciting to play with this new tool. 
</p>
        <p>
Things changed between the March preview and this RC version. 
</p>
        <p>
Let's play with a first very simple sample of what we can now do… 
</p>
        <p>
Blend 3.0 has a new useful asset library: <a href="http://blogs.msdn.com/unnir/archive/2009/05/22/the-blend-3-asset-library.aspx">http://blogs.msdn.com/unnir/archive/2009/05/22/the-blend-3-asset-library.aspx</a></p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat1.png" alt="" />
        </p>
        <p>
In my sample, I'll just deal with an image and a textbox : 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat2.png" alt="" />
        </p>
        <p>
If I go into my assets library, I can find a behaviors category. That's the place
where we'll be able to use all the behaviors available in the assemblies referenced
for a project. 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat3.png" alt="" />
        </p>
        <p>
If I take the HyperlinkAction behavior and drop it on my picture in the designer,
I can see the properties of my behavior. 
</p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat4.png" alt="" />
        </p>
        <p>
The Trigger gives information about who can fire which event. The SourceName value<em> [Parent] </em>means
here that the event is fired by the picture. 
</p>
        <p>
With the piker <img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat5.png" alt="" />,
you can choose any other element in your artboard. 
</p>
        <p>
The type of event is here a <em>MouseLeftButtonDown </em>but many other events may
be chosen from the dropdown. 
</p>
        <p>
The common properties indicates here where to navigate and in which target window. 
</p>
        <p>
Here is the resulting XAML of my picture and HyperlinkAction : 
</p>
        <p>
        </p>
        <p>
          <img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat6.png" alt="" />
        </p>
        <p>
        </p>
        <p>
With just 0 line of code and without Visual Studio, I can create links on any Silverlight
element using this HyperlinkAction! 
</p>
        <p>
See you later! 
</p>
        <p>
        </p>
        <img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=db613e01-5cd9-4aed-a90e-c95862a7287a" />
      </body>
      <title>First look at Blend 3.0 RC : a simple example of the HyperlinkAction behavior</title>
      <guid isPermaLink="false">http://www.renaldnollet.com/blog/PermaLink,guid,db613e01-5cd9-4aed-a90e-c95862a7287a.aspx</guid>
      <link>http://www.renaldnollet.com/blog/2009/07/11/FirstLookAtBlend30RCASimpleExampleOfTheHyperlinkActionBehavior.aspx</link>
      <pubDate>Sat, 11 Jul 2009 16:06:08 GMT</pubDate>
      <description>&lt;p&gt;
Blend 3.0 RC is there and it's pretty exciting to play with this new tool. 
&lt;/p&gt;
&lt;p&gt;
Things changed between the March preview and this RC version. 
&lt;/p&gt;
&lt;p&gt;
Let's play with a first very simple sample of what we can now do… 
&lt;/p&gt;
&lt;p&gt;
Blend 3.0 has a new useful asset library: &lt;a href="http://blogs.msdn.com/unnir/archive/2009/05/22/the-blend-3-asset-library.aspx"&gt;http://blogs.msdn.com/unnir/archive/2009/05/22/the-blend-3-asset-library.aspx&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat1.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
In my sample, I'll just deal with an image and a textbox : 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat2.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
If I go into my assets library, I can find a behaviors category. That's the place
where we'll be able to use all the behaviors available in the assemblies referenced
for a project. 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat3.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
If I take the HyperlinkAction behavior and drop it on my picture in the designer,
I can see the properties of my behavior. 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat4.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
The Trigger gives information about who can fire which event. The SourceName value&lt;em&gt; [Parent] &lt;/em&gt;means
here that the event is fired by the picture. 
&lt;/p&gt;
&lt;p&gt;
With the piker &lt;img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat5.png" alt="" /&gt;,
you can choose any other element in your artboard. 
&lt;/p&gt;
&lt;p&gt;
The type of event is here a &lt;em&gt;MouseLeftButtonDown &lt;/em&gt;but many other events may
be chosen from the dropdown. 
&lt;/p&gt;
&lt;p&gt;
The common properties indicates here where to navigate and in which target window. 
&lt;/p&gt;
&lt;p&gt;
Here is the resulting XAML of my picture and HyperlinkAction : 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.renaldnollet.com/blog/content/binary/071109_1438_Firstlookat6.png" alt="" /&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
With just 0 line of code and without Visual Studio, I can create links on any Silverlight
element using this HyperlinkAction! 
&lt;/p&gt;
&lt;p&gt;
See you later! 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.renaldnollet.com/blog/aggbug.ashx?id=db613e01-5cd9-4aed-a90e-c95862a7287a" /&gt;</description>
      <comments>http://www.renaldnollet.com/blog/CommentView,guid,db613e01-5cd9-4aed-a90e-c95862a7287a.aspx</comments>
      <category>Blend 3.0</category>
    </item>
  </channel>
</rss>