<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BlendInsider</title>
	<atom:link href="http://blendinsider.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blendinsider.com</link>
	<description>The Official Microsoft Expression Blend Team Blog</description>
	<lastBuildDate>Thu, 04 Apr 2013 18:37:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Visual Studio 2012 Update 2 Released</title>
		<link>http://blendinsider.com/version-update-2/visual-studio-2012-update-2-released-2013-04-04/</link>
		<comments>http://blendinsider.com/version-update-2/visual-studio-2012-update-2-released-2013-04-04/#comments</comments>
		<pubDate>Thu, 04 Apr 2013 18:08:01 +0000</pubDate>
		<dc:creator>Harikrishna Menon</dc:creator>
				<category><![CDATA[Version: Update 2]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1352</guid>
		<description><![CDATA[As you may have seen from the various announcements, we released Visual Studio 2012 Update 2 today. This update contains a lot of improvements and fixes (especially for XAML scenarios), and you can download it from the following location. To learn more about the improvements<div><a class="more-link" href="http://blendinsider.com/version-update-2/visual-studio-2012-update-2-released-2013-04-04/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>As you may have seen from the <a href="http://blogs.msdn.com/b/somasegar/archive/2013/04/04/visual-studio-2012-update-2-now-available.aspx">various</a> <a href="http://blogs.msdn.com/b/visualstudio/archive/2013/04/04/visual-studio-2012-update-2-is-here.aspx">announcements</a>, we released Visual Studio 2012 Update 2 today. This update contains a lot of improvements and fixes (especially for XAML scenarios), and you can download it from the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38188">following location</a>.</p>
<p>To learn more about the improvements we&#8217;ve made, please check out our <a href="http://blendinsider.com/technical/announcing-visual-studio-2012-update-2-ctp-2013-01-30/">earlier post</a>. If you have any questions or comments, feel free to contact me by commenting below or posting on <a href="http://social.msdn.microsoft.com/Forums/en-US/category/windowsapps">our forums</a>.</p>
<p>Regards,<br />
Hari</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/version-update-2/visual-studio-2012-update-2-released-2013-04-04/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Announcing Visual Studio 2012 Update 2 CTP 2</title>
		<link>http://blendinsider.com/technical/announcing-visual-studio-2012-update-2-ctp-2013-01-30/</link>
		<comments>http://blendinsider.com/technical/announcing-visual-studio-2012-update-2-ctp-2013-01-30/#comments</comments>
		<pubDate>Wed, 30 Jan 2013 17:23:03 +0000</pubDate>
		<dc:creator>Unni Ravindranathan</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Version: Update 2]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1301</guid>
		<description><![CDATA[We are excited to announce the availability of the CTP of Visual Studio 2012 Update 2, as it bring forwards a number of improvements for the XAML developer. The following are some of the key improvements you will find in this release: WPF, Silverlight and<div><a class="more-link" href="http://blendinsider.com/technical/announcing-visual-studio-2012-update-2-ctp-2013-01-30/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>We are excited to announce the availability of the <a href="http://go.microsoft.com/fwlink/?LinkId=273878">CTP of Visual Studio 2012 Update 2</a>, as it bring forwards a number of improvements for the XAML developer. The following are some of the key improvements you will find in this release:<span id="more-1301"></span></p>
<h2>WPF, Silverlight and SketchFlow support in Blend</h2>
<p>Blend for Visual Studio now support WPF, Silverlight and SketchFlow projects in the same version of Blend (support for these was previously available only as a standalone Preview release of Blend). With this CTP release, Blend now supports developing Windows Store, Windows Phone, WPF and Silverlight apps without needing to have multiple versions of Blend on the same machine. The table below highlights the various platforms that are now supported in Blend for Visual Studio 2012:</p>
<table class="grid" width="100%" border="1" cellspacing="10px" cellpadding="10px">
<tbody>
<tr>
<td valign="top">
<h3>Target platform</h3>
</td>
<td valign="top">
<h3>Versions supported</h3>
</td>
<td valign="top">
<h3>Specific Requirements</h3>
</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">Windows Store XAML and HTML</td>
<td valign="top">Windows 8</td>
<td valign="top">Windows 8</td>
</tr>
<tr>
<td valign="top">Windows Phone</td>
<td valign="top">Windows Phone 8, Windows Phone 7.5</td>
<td valign="top">Windows Phone 8 SDK</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">WPF</td>
<td valign="top">3.5, 4.0, 4.5</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">Silverlight<strong></strong></td>
<td valign="top">4, 5</td>
<td valign="top"></td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">SketchFlow<strong></strong></td>
<td valign="top">WPF 4.0 and Silverlight 4</td>
<td valign="top">Visual Studio 2012 Premium or higher</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://blendinsider.com/wp-content/uploads/2013/01/ctp-projectdialog.png"><img class="aligncenter size-full wp-image-1329" title="ctp-projectdialog" src="http://blendinsider.com/wp-content/uploads/2013/01/ctp-projectdialog.png" alt="VS 2012 new project" width="600" height="470" /></a></p>
<h2>Illustrator and Photoshop import support for Windows Store XAML apps</h2>
<p>Blend now allows you to import Adobe Illustrator and Photoshop files into Windows Store XAML apps, using the same workflows that you have been familiar with in WPF, Silverlight and Windows Phone. In addition, we have also enabled copying and pasting graphics from Illustrator directly into your XAML design surface.</p>
<h2>Performance and Reliability</h2>
<p>We have been actively working on improving the performance and reliability of using the XAML design surfaces in Visual Studio and Blend, as well as the XAML editor in VS. While our work is not yet complete, we have addressed a significant amount of feedback that we received in this release – particularly in areas where the XAML designer would take a long time to load for large projects. The following is a quick sampling of areas where you might see improvements in this release.</p>
<table class="grid" width="100%" border="1" cellspacing="10px" cellpadding="10px">
<tbody>
<tr>
<td valign="baseline">
<h3></br></br></br></br>Scenario</h3>
</td>
<td valign="baseline">
<h3>Visual Studio 2012<br />
RTM<br />
(sec)</h3>
</td>
<td valign="baseline">
<h3>Visual Studio 2012<br />
Update 2<br />
(sec)</h3>
</td>
<td valign="baseline">
<h3></br></br></br>% Improved</h3>
</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">Opening XAML file in a WPF project with a common 3<sup>rd</sup> party WPF control library set</td>
<td valign="top">
<p align="center">9.9</p>
</td>
<td valign="top">
<p align="center">4.5</p>
</td>
<td valign="top">
<p align="center">54.4 %</p>
</td>
</tr>
<tr>
<td valign="top">Drag and drop a WPF control from the toolbox for a 3<sup>rd</sup> party WPF control library set</td>
<td valign="top">
<p align="center">16</p>
</td>
<td valign="top">
<p align="center">3.2</p>
</td>
<td valign="top">
<p align="center">80 %</p>
</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">Opening XAML file for a large WPF solution containing more than 80 projects</td>
<td valign="top">
<p align="center">71.9</p>
</td>
<td valign="top">
<p align="center">6.9</p>
</td>
<td valign="top">
<p align="center">90.5 %</p>
</td>
</tr>
<tr>
<td valign="top">Opening a XAML file from the default  Windows Store XAML Grid App with a large number of assembly references unused from XAML</td>
<td valign="top">
<p align="center">35.4</p>
</td>
<td valign="top">
<p align="center">4.9</p>
</td>
<td valign="top">
<p align="center">86.1 %</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>In addition to this, we also fixed approximately <b style="font-weight: 600;">30% of all issues that were submitted by you via Microsoft Connect</b>. We continue to make progress on addressing more issues as fast as we can.</p>
<p>As usual, we look forward to any feedback you might have and ways we can improve your XAML Development experience &#8211; please keep it <a href="https://connect.microsoft.com/">coming</a>!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/announcing-visual-studio-2012-update-2-ctp-2013-01-30/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Announcing Windows Phone 8 SDK—Design Great Apps with Blend</title>
		<link>http://blendinsider.com/news/announcing-windows-phone-8-sdk-design-great-apps-with-blend-2012-10-30/</link>
		<comments>http://blendinsider.com/news/announcing-windows-phone-8-sdk-design-great-apps-with-blend-2012-10-30/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 17:21:18 +0000</pubDate>
		<dc:creator>Harikrishna Menon</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Version: Windows Phone 8 SDK]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1284</guid>
		<description><![CDATA[The Blend team is excited to announce our latest release of Blend and Visual Studio XAML design tools that support Windows Phone 8 development. In this release, our big focus was on unifying the XAML design support across Blend and Visual Studio, similar to the<div><a class="more-link" href="http://blendinsider.com/news/announcing-windows-phone-8-sdk-design-great-apps-with-blend-2012-10-30/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>The Blend team is excited to announce our latest release of Blend and Visual Studio XAML design tools that support Windows Phone 8 development. In this release, our big focus was on unifying the XAML design support across Blend and Visual Studio, similar to the design experience available for other XAML platforms like Windows Store Apps, WPF, and Silverlight.<span id="more-1284"></span></p>
<p>Blend is included with <a href="http://msdn.microsoft.com/en-US/vstudio/">Visual Studio 2012</a>. This makes it easy for you to create great Windows Phone 8 applications. The free <a href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products">Visual Studio 2012 Express for Windows Phone 8</a> comes with Blend as well. For all you Visual Studio 2012 Pro, Premium, and Ultimate customers out there, installing the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=35471">Windows Phone 8 SDK</a> automatically enables Windows Phone 8 development in your installed version of Blend and Visual Studio.</p>
<p>A lot of the Blend features you have come to love in the previous edition of Windows Phone tools are now available in Visual Studio as well, including the Device Panel, better support for editing controls like the AppBar, and template editing.</p>
<p>In addition to these, we have added support for designing for multiple resolutions in the Device Panel.</p>
<p>All the features of Blend available in the previous edition of the Windows Phone tools are carried over to the Windows Phone 8 tools as well, including Behaviors, visual state editing, and sample data. If you have the Windows Phone 8 SDK installed, you also get full design support for building Windows Phone 7.5 (Mango) apps in Blend and Visual Studio.</p>
<h3>Blend for Visual Studio 2012</h3>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/10/wp8-blend-lg.png"><img class="aligncenter size-full wp-image-1286" title="wp8-blend-sm" src="http://blendinsider.com/wp-content/uploads/2012/10/wp8-blend-sm.png" alt="Blend for Windows Phone 8" width="600" height="325" /></a></p>
<h3>Visual Studio 2012</h3>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/10/wp8-vs-lg.png"><img class="aligncenter size-full wp-image-1288" title="wp8-vs-sm" src="http://blendinsider.com/wp-content/uploads/2012/10/wp8-vs-sm.png" alt="Visual Studio 2012 for Windows Phone 8" width="600" height="325" /></a></p>
<p>Check out the video below to see our flagship features in play in Visual Studio &amp; Blend.</p>
<p><iframe src="http://www.youtube.com/embed/QyEOsvsfjfw?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<p>For more information on Windows Phone 8 App Development, please visit the <a href="http://dev.windowsphone.com/en-us/home">Windows Phone Dev Center</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/news/announcing-windows-phone-8-sdk-design-great-apps-with-blend-2012-10-30/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Getting Started: Authoring HTML for Windows 8 Apps using Blend for VS 2012</title>
		<link>http://blendinsider.com/technical/getting-started-authoring-html-for-windows-8-apps-using-blend-for-vs-2012-2012-08-30/</link>
		<comments>http://blendinsider.com/technical/getting-started-authoring-html-for-windows-8-apps-using-blend-for-vs-2012-2012-08-30/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 16:59:18 +0000</pubDate>
		<dc:creator>Kirupa</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Version: Release]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1252</guid>
		<description><![CDATA[Almost two years ago, we set out on a path towards building a flavor of Blend that allowed you to seamlessly craft HTML, CSS, and JavaScript into Metro style applications. We are thrilled to announce that the final, released version of Blend is available for<div><a class="more-link" href="http://blendinsider.com/technical/getting-started-authoring-html-for-windows-8-apps-using-blend-for-vs-2012-2012-08-30/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>Almost two years ago, we set out on a path towards building a flavor of Blend that allowed you to seamlessly craft HTML, CSS, and JavaScript into Metro style applications. We are thrilled to announce that the final, released version of Blend is available for you to try out. As in previous releases, there is no more need to download Blend separately. It is now part of every VS download that targets any of the supported platforms. You can learn more from our <a href="http://blendinsider.com/technical/available-now-blend-for-visual-studio-2012-2012-08-15/">launch blog post</a>.<br />
<span id="more-1252"></span></p>
<p>Download Visual Studio 2012 with Blend and Windows 8.  <a href="http://go.microsoft.com/fwlink/?LinkID=207267">MSDN Subscriber Downloads</a> has several versions available, and there are <a href="http://go.microsoft.com/fwlink/?linkid=240162">free downloads</a> available for non-subscribers.</p>
<p>Getting Blend installed and running is only one part of it. Using Blend in conjunction with Visual Studio to build great Windows applications is the other part, and that is where this post comes in. In this post, you will get an overview of Blend and the great features it provides for allowing you to build great Windows applications.</p>
<h1>Hello World</h1>
<p>What better place to start than with the classic hello world example. Learn the basics of the Blend UI and how to start working with the content creation and styling features you have available:</p>
<p><iframe src="http://www.youtube.com/embed/47Luwq85NCs?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h1>Building a Windows Application</h1>
<p>Let’s go a bit further now and look at how to work with controls, data, templates, layout, and more – all of which will play a crucial role as you build your own Windows applications.</p>
<p><iframe src="http://www.youtube.com/embed/IBK85VmaLsY?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h1>Designing for Devices</h1>
<p>Because your applications will be running on devices other than just a laptop or a desktop, let’s see how Blend can be used to help you design for multiple orientations, screen sizes, and view states:</p>
<p><iframe src="http://www.youtube.com/embed/ckfnnOMhe2s?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h1>Further Reading</h1>
<p>Hopefully the videos helped get you excited about using Blend and Visual Studio to design and develop great Windows applications. To help you on your journey, be sure to check out the following links as well:</p>
<ol>
<li><a href="http://blendinsider.com/technical/ux-guidelines-for-metro-style-app-development-2011-10-21/">UX Guidelines for Windows 8 app Development</a></li>
<li><a href="http://msdn.microsoft.com/library/windows/apps/hh779072/">Guidance and Best Practices for building your Windows 8 UI</a></li>
<li><a href="http://code.msdn.microsoft.com/windowsapps/site/search?f%5B0%5D.Type=ProgrammingLanguage&amp;f%5B0%5D.Value=JavaScript&amp;f%5B0%5D.Text=JavaScript">Browse and Download HTML/CSS/JavaScript Samples</a></li>
<li><a href="http://social.msdn.microsoft.com/Forums/en-US/category/windowsapps">Give and receive help on the forums</a></li>
</ol>
<p>As always, we are looking forward to hearing from you. Please let us know what you think by commenting below or posting in our forums.</p>
<p>Cheers,</p>
<p>Kirupa Chinnathambi, Program Manager</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/getting-started-authoring-html-for-windows-8-apps-using-blend-for-vs-2012-2012-08-30/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Getting Started:  XAML Authoring with Blend for VS 2012</title>
		<link>http://blendinsider.com/technical/getting-started-xaml-authoring-with-blend-for-vs-2012-2012-08-30/</link>
		<comments>http://blendinsider.com/technical/getting-started-xaml-authoring-with-blend-for-vs-2012-2012-08-30/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 16:58:42 +0000</pubDate>
		<dc:creator>Harikrishna Menon</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Version: Release]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1225</guid>
		<description><![CDATA[Now that you have your copy of Visual Studio 2012 including Blend, you must be raring to go and explore the world of Windows 8 development. We hope this post helps all the C#/VB &#38; C++ junkies out there get started pronto on creating amazing<div><a class="more-link" href="http://blendinsider.com/technical/getting-started-xaml-authoring-with-blend-for-vs-2012-2012-08-30/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>Now that you have your copy of <a href="http://www.microsoft.com/visualstudio/11/en-us/downloads#express-win8">Visual Studio 2012 including Blend</a>, you must be raring to go and explore the world of Windows 8 development. We hope this post helps all the C#/VB &amp; C++ junkies out there get started pronto on creating amazing apps for the Windows Store.</p>
<p>Who doesn’t like food? Trying to find the perfect recipe to cook for dinner is a decision we battle every day, so one of our sister teams in Microsoft had created this awesome Contoso Cookbook sample app. For the purposes of this post we will take this much loved sample application already oozing with design goodness and add a bit more styling and flair to it.</p>
<p><span id="more-1225"></span></p>
<p>Download the <a href="http://code.msdn.microsoft.com/windowsapps/Cookbook-Sample-App-for-22e11395">Contoso sample app</a> uploaded to accompany this tutorial.</p>
<h1>Contoso Cookbook Sample</h1>
<p align="center"><img class="aligncenter size-full wp-image-1230 no-border" title="contoso-originalstyle" src="http://blendinsider.com/wp-content/uploads/2012/08/contoso-originalstyle.png" alt="Contoso cookbook app" width="600" height="336" /></p>
<h2>Contoso After a bit of styling with XAML design tools</h2>
<p align="center"><img class="aligncenter size-full wp-image-1228 no-border" title="contoso-restyled" src="http://blendinsider.com/wp-content/uploads/2012/08/contoso-restyled.png" alt="" width="600" height="383" /></p>
<p>All we did to style this page was 4 things:</p>
<ol>
<li>Add a more vibrant background.</li>
<li>Edit the style of Items in the list of recipes (a.k.a ItemTemplate of the GridView).</li>
<li>Edit the style of the Group (a.k.a GroupStyle of the GridView).</li>
<li>Added a snazzy Windows 8 animation to the background image.</li>
</ol>
<h2>Changing the background</h2>
<p>The below video demonstrates some aspects of designing layout in Blend and working with a wide variety of brushes.</p>
<p><iframe src="http://www.youtube.com/embed/V1BlzKhGIL0?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h2>Tips &amp; Tricks</h2>
<ul>
<li>Did you know Blend enables you to do Brush Transforms using the Brush Transform tool?</li>
<li>You can even select colors from a snapped Windows Store app using Blend’s eyedropper tool. Try it out.</li>
<li>Visual Studio now has a good picture editor built in. Double click on any image to open it in the picture editor.</li>
<li>Check out CTRL+0, it’s the single best designer shortcut you can learn.</li>
</ul>
<blockquote><p>Learn how to work with <a href="http://msdn.microsoft.com/en-us/library/cc294765%28v=expression.40%29.aspx">brushes</a> , <a href="http://www.google.com/#hl=en&amp;sclient=psy-ab&amp;q=Resources+in+blend&amp;oq=Resources+in+blend&amp;gs_l=hp.3..0i5i30j0i8i30.34931.37244.2.37550.18.15.0.3.3.1.257.1414.10j4j1.15.0.les%3B..0.0...1c.aikrQ0bDzsw&amp;pbx=1&amp;bav=on.2,or.r_gc.r_pw.r_qf.&amp;fp=ce8c79dcfa1632ed&amp;biw=1536&amp;bih=788">resources</a>, <a href="http://blendinsider.com/technical/visual-studio-xaml-designer-new-grid-features-2011-10-25/">layout</a> &amp; the <a href="http://tozon.info/blog/post/2007/12/07/Gradient-eyedropper-in-Expression-Blend.aspx">eyedropper tool</a>.</p></blockquote>
<h1>Editing an Item Template</h1>
<p>The below video demonstrates some aspects of working with Item Templates in XAML tools.</p>
<p><iframe src="http://www.youtube.com/embed/gvcXNkDTqT8?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h2>Tips &amp; Tricks</h2>
<ul>
<li>Changing the panel type in an ItemsPanelTemplate can be hard because the platform sometimes throws an exception if you delete and try adding a new panel type. A better way to do it is to use the Change Layout Command in the context menu of the panel to change to panel type to the one you want.</li>
<li>Did you know you can use the data binding dialog in both Blend &amp; VS even if you set the DataContext in the code-behind? Hint: set the property d:DataContext which is completely supported by our intelliSense and the data binding dialog will now treat it as the data context of the scope during design time and leave the runtime behavior unchanged).</li>
</ul>
<blockquote><p>Learn about <a href="http://expressioniq.com/?p=60">designing templates</a>, <a href="http://msdn.microsoft.com/en-us/library/cc294609%28v=expression.40%29.aspx">resource scoping &amp; management</a>.</p></blockquote>
<h1>Editing a GroupStyle</h1>
<p>The below video demonstrates some aspects of working with states &amp; GroupStyles in XAML tools.</p>
<p><iframe src="http://www.youtube.com/embed/LqfqG6JuAQo?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h2>Tips &amp; Tricks</h2>
<p>In case you have multiple GroupStyles and you would like to design them all in the designer, you can use the Collection Editor of the GroupStyle property and move the desired GroupStyle to index 0 and then you can use the Edit GroupStyle command to design that style to your heart’s content.</p>
<blockquote><p>Learn about designing <a href="http://msdn.microsoft.com/en-us/library/cc294609%28v=expression.40%29.aspx">GroupStyles</a>.</p></blockquote>
<h1>Working with the Windows 8 animation library</h1>
<p><iframe src="http://www.youtube.com/embed/1cG7j44GT9M?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h2>Tips &amp; Tricks</h2>
<ul>
<li>Did you know that you can copy one state to another? Try out the CopyState command in the States pane, which you can access by bringing up the context menu on a state, this is a huge productivity booster.</li>
<li>Blend enables you to create in-state animations, e.g. pulsing a button when selected by using the Objects &amp; Timeline pane. While in a state select the timeline icon in Objects &amp; Timeline panel to start creating in state animations.</li>
</ul>
<blockquote><p>Learn about <a href="http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh452703.aspx">ThemeAnimations &amp; ThemeTransitions</a>.</p></blockquote>
<h1>Designing View States</h1>
<p>The below video demonstrates some aspects of working with view states in Blend.</p>
<p><iframe src="http://www.youtube.com/embed/hfDby6HYQGY?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h2>Tips &amp; Tricks</h2>
<ul>
<li>Did you know that the BasicPage Item Template in the Add new item dialog has built in View state awareness?</li>
</ul>
<blockquote><p>Learn more about <a href="http://blogs.msdn.com/b/windowsappdev/archive/2012/04/19/getting-the-most-out-of-your-pixels-adapting-to-view-state-changes.aspx">working with </a> Application View States.</p></blockquote>
<p>Thanks,<br />
Harikrishna Menon, Blend Program Manager</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/getting-started-xaml-authoring-with-blend-for-vs-2012-2012-08-30/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Available Now:  Blend for Visual Studio 2012</title>
		<link>http://blendinsider.com/technical/available-now-blend-for-visual-studio-2012-2012-08-15/</link>
		<comments>http://blendinsider.com/technical/available-now-blend-for-visual-studio-2012-2012-08-15/#comments</comments>
		<pubDate>Wed, 15 Aug 2012 16:42:12 +0000</pubDate>
		<dc:creator>Christian Schormann</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Version: Release]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[Blend]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1166</guid>
		<description><![CDATA[Today, I have the great pleasure to announce the latest release of Blend. In this release cycle, our big focus has been Windows 8: Blend now supports UX authoring not just for store apps written in XAML, but also for those written in HTML. We<div><a class="more-link" href="http://blendinsider.com/technical/available-now-blend-for-visual-studio-2012-2012-08-15/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>Today, I have the great pleasure to announce the latest release of Blend. In this release cycle, our big focus has been Windows 8: Blend now supports UX authoring not just for store apps written in XAML, but also for those written in HTML.</p>
<p>We want to make it really easy for you to create great apps for Windows 8. Therefore, we are now including Blend with Visual Studio 2012, including the free Express for Windows 8 version for authoring Win 8 store apps. With one fast download and install you get VS for your coding-centric tasks and Blend for visual authoring.</p>
<p><a href="http://go.microsoft.com/fwlink/?LinkID=207267">Visual Studio 2012 and Blend</a> can be downloaded from MSDN today if you’re an MSDN Subscriber.  You can also download the free <a href="http://go.microsoft.com/fwlink/?linkid=240162">Visual Studio 2012 Express for Windows 8</a>, which includes Blend, or <a href="http://go.microsoft.com/fwlink/?linkid=240162">free trial versions of Visual Studio 2012 with Blend</a> today.<br />
<span id="more-1166"></span></p>
<p><a href="http://blendinsider.com/wp-content/uploads/2012/08/vs-blend.png"><img class="aligncenter size-full wp-image-1197" title="vs-blend" src="http://blendinsider.com/wp-content/uploads/2012/08/vs-blend.png" alt="Visual Studio 2012 and Blend" width="331" height="163" /></a></p>
<p>Blend for Visual Studio 2012 supports XAML store apps with great support for Win 8 features such as app bars, Grid view, and view states. Blend also adds native C++ app development to its repertoire. Also, with the release of VS 2012, the XAML design surface in VS is now built on the same code base as Blend, improving workflow and interoperability.</p>
<p>Completely new in Blend is visual authoring for HTML and CSS, especially for Windows 8 store apps.</p>
<p>Blend is a unique, innovative and exciting authoring tool with rich visual tools. It gives you great tools to create, edit and diagnose CSS, supporting some of the latest CSS standards, including CSS Grid, Gradients, Transitions, and media queries. Blend creates clean and standard-conformant markup.</p>
<p>It also is designed to handle app UX that makes heavy use of JavaScript to dynamically create and manipulate DOM elements. Blend constantly runs your code on the design surface, so that content generated by JavaScript can be displayed and edited accurately. Using Interactive Mode you can even interact with the app on the design surface and bring it into states that are not reachable via markup at all.</p>
<p>In summary, Blend for HTML makes visual authoring of HTML, CSS and WinJS productive, fast, and fun again.</p>
<p><a href="http://blendinsider.com/wp-content/uploads/2012/08/blend-rtw.png"><img class="aligncenter size-full wp-image-1196" title="blend-rtw" src="http://blendinsider.com/wp-content/uploads/2012/08/blend-rtw.png" alt="Blend for VS 2012, design surface" width="600" height="325" /></a></p>
<h2>Additional Releases</h2>
<p>As said above, this release is focused on store apps for Windows 8. We are also working on support for WPF, Silverlight and SketchFlow compatible with VS 2012. A <a href="http://go.microsoft.com/fwlink/?LinkId=261803">preview</a> is available for download. Please keep in mind that it is intended for evaluation and feedback only.</p>
<p>For production work, please use the following releases:</p>
<table border="1" cellspacing="10px" cellpadding="10px" width="100%">
<tbody>
<tr>
<td valign="top" width="50%">
<h3>Target Platform</h3>
</td>
<td valign="top">
<h3>Blend for Production</h3>
</td>
</tr>
<tr style="background-color: #D9E5F0;">
<td width="50%">Windows 8 Store (XAML and HTML)</td>
<td valign="top">Blend for Visual Studio 2012<br />
(included in VS Express for Windows 8 and in VS 2012 Pro/Premium/Ultimate)</td>
</tr>
<tr>
<td valign="top" width="50%">WPF</td>
<td valign="top">Blend 4</td>
</tr>
<tr style="background-color: #D9E5F0;">
<td valign="top" width="50%">SketchFlow Project</td>
<td valign="top">Blend 4</td>
</tr>
<tr>
<td valign="top" width="50%">Silverlight 4 and earlier</td>
<td valign="top">Blend 4</td>
</tr>
<tr style="background-color: #D9E5F0;">
<td valign="top" width="50%">Silverlight 5</td>
<td valign="top">Blend Preview for Silverlight 5</td>
</tr>
<tr>
<td valign="top" width="50%">Windows Phone 7.5 and 7.0</td>
<td valign="top">Windows Phone SDK 7.1 (includes Blend for Windows Phone)</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2>Summary</h2>
<p>Blend for Visual Studio is a great visual authoring tool for Windows store apps in XAML and HTML. It is the most accessible version of Blend ever, available with the free Windows 8 development tools, as well as all other packages of Visual Studio 2012.</p>
<p>There is a lot to explore. Please download it and give it a try. We are eagerly looking forward to your feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/available-now-blend-for-visual-studio-2012-2012-08-15/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Announcing Blend + SketchFlow Preview for Visual Studio 2012</title>
		<link>http://blendinsider.com/technical/announcing-blend-sketchflow-preview-for-visual-studio-2012-2012-08-15/</link>
		<comments>http://blendinsider.com/technical/announcing-blend-sketchflow-preview-for-visual-studio-2012-2012-08-15/#comments</comments>
		<pubDate>Wed, 15 Aug 2012 16:41:59 +0000</pubDate>
		<dc:creator>Erik Arthur</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Version: Preview]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1169</guid>
		<description><![CDATA[We are making available a preview version of Blend + SketchFlow Preview for Visual Studio 2012. This release includes support for WPF version 3.5/4.0/4.5, Silverlight 4.0/5.0, SketchFlow, and Blend tools for Windows 8. This preview release will run on Windows 7 SP1, Windows 8, and Windows<div><a class="more-link" href="http://blendinsider.com/technical/announcing-blend-sketchflow-preview-for-visual-studio-2012-2012-08-15/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>We are making available a preview version of Blend + SketchFlow Preview for Visual Studio 2012. This release includes support for WPF version 3.5/4.0/4.5, Silverlight 4.0/5.0, SketchFlow, and Blend tools for Windows 8. This preview release will run on Windows 7 SP1, Windows 8, and Windows 8 Server.</p>
<p>WPF, Silverlight, and SketchFlow applications can be developed on any of the operating systems listed above. Windows Store apps authored in HTML and XAML require the Windows 8 client operating system. This preview also includes Blend SDKs for WPF 3.5/4.0/4.5 and Silverlight 4.0/5.0 platforms.<span id="more-1169"></span></p>
<p>This is a preview version for evaluation only and none of the platforms contain a go-live license. You should use other released versions of Blend for production work. The table below lists the Blend Platforms and the version of Blend you should use for production applications.</p>
<p>&gt;</p>
<table class="grid" width="100%" border="1" cellspacing="10px" cellpadding="10px">
<tbody>
<tr>
<td valign="top">
<h3>Platform</h3>
</td>
<td valign="top">
<h3>Go live Blend version</h3>
</td>
</tr>
<tr>
<td valign="top">Windows Store apps, HTML</td>
<td valign="top">Blend for Visual Studio 2012</td>
</tr>
<tr>
<td valign="top">Windows Store apps, XAML</td>
<td valign="top">Blend for Visual Studio 2012</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">Silverlight 4.0</td>
<td valign="top">Expression Blend 4</td>
</tr>
<tr>
<td valign="top">Silverlight 5.0</td>
<td valign="top">Expression Blend Preview for Silverlight 5</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">WPF 3.5/4.0</td>
<td valign="top">Expression Blend 4</td>
</tr>
<tr>
<td valign="top">WPF 4.5</td>
<td valign="top">Microsoft Visual Studio 2012 Professional</td>
</tr>
<tr style="background-color: #d9e5f0;">
<td valign="top">WPF/Silverlight Prototypes</td>
<td valign="top">Expression Blend 4</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>More information about this can be found in the updated <a title="EULA for Blend + SketchFlow Preview for VS 2012" href="http://expression.microsoft.com/en-us/jj618396">End-user license agreement</a> that comes with the product. The expiration date of this preview is July 9, 2013. This preview can be installed side by side with Expression Blend 4, Blend for Visual Studio 2012, Blend for Windows Phone, and the Blend Preview for Silverlight 5.</p>
<p>You can download this release from the Microsoft Download Center: <a href="http://go.microsoft.com/fwlink/?LinkId=261803">Microsoft Blend + SketchFlow Preview</a> for Visual Studio 2012.</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/announcing-blend-sketchflow-preview-for-visual-studio-2012-2012-08-15/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>Running User Code in the XAML Designer:  Blend and VS 2012</title>
		<link>http://blendinsider.com/technical/running-user-code-in-the-xaml-designer-blend-and-vs-2012-2012-07-06/</link>
		<comments>http://blendinsider.com/technical/running-user-code-in-the-xaml-designer-blend-and-vs-2012-2012-07-06/#comments</comments>
		<pubDate>Fri, 06 Jul 2012 20:41:55 +0000</pubDate>
		<dc:creator>Harikrishna Menon</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Version: RC]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Design time]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1145</guid>
		<description><![CDATA[The XAML designer in Blend &#38; VS is a projection of a running application (see Mysteries of XDesProc–Revealed!), but unlike a full-fledged app, usage of certain programming constructs and resources might cause the designer to crash or behave in an unexpected manner. Note: This post<div><a class="more-link" href="http://blendinsider.com/technical/running-user-code-in-the-xaml-designer-blend-and-vs-2012-2012-07-06/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>The XAML designer in Blend &amp; VS is a projection of a running application (see <a href="http://blendinsider.com/technical/mysteries-of-xdesproc-revealed-2-2012-04-19/">Mysteries of XDesProc–Revealed!</a>), but unlike a full-fledged app, usage of certain programming constructs and resources might cause the designer to crash or behave in an unexpected manner.</p>
<p>Note: This post and the examples shown are written in the context of the XAML Metro style app designer, but some of them apply to Windows Presentation Foundation (WPF), Silverlight, and Windows Phone designers as well.</p>
<p>First, a quick overview of what code runs in the designer and what doesn’t.<span id="more-1145"></span></p>
<ul>
<li>The code-behind of the instances of user controls and custom controls in the active XAML page are run in the designer.</li>
<li>WINRT or CLR types that you declare in XAML as resources are instantiated in the designer process.</li>
<li>Events dependent on CoreWindow and Input events will not be fired in the designer.</li>
</ul>
<p>Keeping the above statements in mind, let’s review some things that might cause the designer to crash or behave unexpectedly.</p>
<h1>Using [DependencyObject].Dispatcher</h1>
<p>As the designer process is basically a WPF Application that hosts XAML runtime components, types like CoreWindow and CoreDispatcher are unavailable. CoreDispatcher is generally used to marshal an operation from a non-UI thread to the UI thread or schedule it for later execution on the UI thread. Since there is no CoreWindow in the designer process, CoreDispatcher objects in the designer will always evaluate to NULL. Hence, any user controls and custom controls that use this construct in their code-behind might not work correctly in the designer.</p>
<p>When we detect that an instance of a user control or custom type cannot be created, we catch all resulting exceptions and wrap them in an error report linked to that specific instance, and continue creating the rest of the document.</p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/07/01-huc-controlerror.png"><img class="aligncenter size-full wp-image-1151" title="01-huc-controlerror" src="http://blendinsider.com/wp-content/uploads/2012/07/01-huc-controlerror.png" alt="XAML control error on the design surface" width="600" height="450" /></a></p>
<p>If you drill down into the exception details, you will get an error report similar to the image below.</p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/07/02-huc-comexception.png"><img class="aligncenter size-full wp-image-1150" title="02-huc-comexception" src="http://blendinsider.com/wp-content/uploads/2012/07/02-huc-comexception.png" alt="Com exception on XAML control" width="600" height="100" /></a></p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/07/03-huc-dispatcher.png"><img class="aligncenter size-full wp-image-1149" title="03-huc-dispatcher" src="http://blendinsider.com/wp-content/uploads/2012/07/03-huc-dispatcher.png" alt="Dispatcher error" width="600" height="59" /></a></p>
<p>The above exception makes it clear that in this example, the display problem is due to a Dispatcher invocation in the constructor of the control.</p>
<p>The question now is, “How do I safeguard my control from dropping dead in the designer?” Well, there is a pretty nifty way of working around this. The code sample below illustrates the approach.</p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/07/04-huc-designmode.png"><img class="aligncenter size-full wp-image-1148" title="04-huc-designmode" src="http://blendinsider.com/wp-content/uploads/2012/07/04-huc-designmode.png" alt="" width="600" height="88" /></a></p>
<p>The key is <strong>Windows.ApplicationModel.DesignMode.DesignModeEnabled</strong>. This property always evaluates to true in the designer and to false during runtime. For a seamless design experience, the recommended approach is to wrap troublesome invocations with this construct.  (For WPF and Silverlight design mode detection, check out Laurent Bugnion’s great blog post <a href="http://geekswithblogs.net/lbugnion/archive/2009/09/05/detecting-design-time-mode-in-wpf-and-silverlight.aspx">Detecting design time mode in WPF and Silverlight</a>.)</p>
<p>This particular issue is not only unique to the <strong>CoreDispatcher</strong> but is also applicable to properties like <strong>CoreWindow.Current</strong>.</p>
<h1>File I/O in the Designer</h1>
<p>Files packaged as a part of the app will not be available for the code running inside the designer process. Two notable exceptions to this rule are Images and XAML files.</p>
<p>To be more specific, file access in the project that does not go through XAML APIs will not be available in the designer. The reason for this constraint is that the structure of the App when deployed for the designer process varies radically from the structure of an installed Windows 8 App.</p>
<p>Design time resolution of XAML files and Images are enabled by a callback mechanism from the platform to the designer process. Whenever the XAML platform encounters a resource that it cannot resolve, it calls the designer process, which supplies it with the correct location of the resource. Other file types referenced either by relative or ms-appx URI will not be available at the expected location in the designer process.</p>
<p>Let’s say you are trying to access an .xml file that is a part of your project in a User Control in the designer process. You might run into the below exception:</p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/07/05-huc-exceptionthrown.png"><img class="aligncenter size-full wp-image-1147" title="05-huc-exceptionthrown" src="http://blendinsider.com/wp-content/uploads/2012/07/05-huc-exceptionthrown.png" alt="Exception thrown" width="541" height="344" /></a></p>
<p>The code below, which was called from the constructor of the User Control, threw the above exception.</p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/07/06-huc-codeerror.png"><img class="aligncenter size-full wp-image-1146" title="06-huc-codeerror" src="http://blendinsider.com/wp-content/uploads/2012/07/06-huc-codeerror.png" alt="Error in code" width="600" height="103" /></a></p>
<h2>A couple of workarounds</h2>
<p>Here are two possible workarounds.</p>
<ul>
<li>Wrap the call to the File IO using the <strong>Windows.ApplicationModel.DesignMode.DesignModeEnabled</strong> flag to prevent this exception from happening.</li>
<li>If you are using this file for design time data, an alternative option is to use XAML files. (<a href="http://msdn.microsoft.com/en-us/library/ee341407%28v=expression.40%29.aspx">Blend 4 Sample data</a>)</li>
</ul>
<p>As always, we welcome your comments and feedback.</p>
<p><strong>Harikrishna Menon</strong>, Program Manager – Blend for Visual Studio</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/running-user-code-in-the-xaml-designer-blend-and-vs-2012-2012-07-06/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Introducing the Blend Class Attribute Editor for HTML</title>
		<link>http://blendinsider.com/technical/introducing-the-blend-class-attribute-editor-for-html-2012-06-27/</link>
		<comments>http://blendinsider.com/technical/introducing-the-blend-class-attribute-editor-for-html-2012-06-27/#comments</comments>
		<pubDate>Wed, 27 Jun 2012 21:57:25 +0000</pubDate>
		<dc:creator>Kirk Schloegel and Brian Hilstrom</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Version: RC]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1116</guid>
		<description><![CDATA[Managing the complexity of interwoven HTML and JavaScript can be a demanding task for designers.  One way Blend supports designers is by providing a visual indication in the CSS Properties and HTML Attributes panes when JavaScript values have been set or have overwritten values assigned<div><a class="more-link" href="http://blendinsider.com/technical/introducing-the-blend-class-attribute-editor-for-html-2012-06-27/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>Managing the complexity of interwoven HTML and JavaScript can be a demanding task for designers.  One way Blend supports designers is by providing a visual indication in the CSS Properties and HTML Attributes panes when JavaScript values have been set or have overwritten values assigned in markup.</p>
<p>This works well for the majority of attributes and properties that take a single value.  However, the <strong>class attribute</strong> can be assigned a list of space-separated class names.  In JavaScript, the list of class names can be appended to, prepended to, overwritten, deleted, or otherwise arbitrarily modified.  Sometimes, multiple JavaScript functions will modify the class attribute of the same element in different ways.</p>
<p>Understanding the interactions between HTML markup and JavaScript is crucial during development and can help with debugging when things aren’t displaying as expected.</p>
<h1>Enter the Blend Class Attribute Editor for HTML</h1>
<p>Blend includes a nifty value editor specifically designed for the HTML class attribute.  You can use it to add, edit, and remove class names for selected elements.  More importantly, you can see a visual indicator for each class name that indicates its state.</p>
<p style="text-align: center;" align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/01-classattributeeditor-a.png"><img class="aligncenter size-full wp-image-1126 no-border" title="01-classattributeeditor-a" src="http://blendinsider.com/wp-content/uploads/2012/06/01-classattributeeditor-a.png" alt="Blend Class Attribute Editor" width="600" height="200" /></a></p>
<h1>Class State Indicators</h1>
<p>The class attribute editor displays three possible states for each class</p>
<p>State 1: Class Name Added in Markup<br />
The first is the markup state.  It appears as the class name with a minus sign (i.e., the Delete button) to the right.  This indicates one of three conditions:</p>
<ul>
<li>The class name exists in HTML markup and JavaScript has not modified the class attribute for the selected elements.</li>
<li>The class name exists in HTML markup and JavaScript modified the value of the class attribute, but also added this particular class name.</li>
<li>The class name was added during design time after JavaScript updated the class attribute, and JavaScript has not since modified the class attribute (i.e., you have not invoked a Refresh).</li>
</ul>
<h2>State 2: Class Name Added by JavaScript</h2>
<p>The second state is denoted by a lightning bolt following the class name.  This indicates the class name was added by JavaScript and does not appear in HTML markup.</p>
<h2>State 3: Class Name Removed by JavaScript</h2>
<p>The third state is denoted with the class name struck through in addition to a lightning bolt.  This indicates the associated class name exists in HTML markup, but JavaScript modified the class attribute and deleted this class from the element.</p>
<p style="text-align: center;" align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/02-attribute-state-a.png"><img class="aligncenter size-full wp-image-1127 no-border" title="02-attribute-state-a" src="http://blendinsider.com/wp-content/uploads/2012/06/02-attribute-state-a.png" alt="Blend -- Class Attribute State" width="600" height="199" /></a></p>
<p>If any of the class names are added or removed by JavaScript, the Property Marker (the little square next to the plus button at the top of the editor) and the border around the editor will be colored cyan.</p>
<h1>Adding, Editing, and Removing Class Names</h1>
<p>The plus button at the top is the Add button.  Clicking the Add button adds a new class with a default name to the editor.</p>
<p style="text-align: center;"><a href="http://blendinsider.com/wp-content/uploads/2012/06/03-add-button-a.png"><img class="aligncenter size-full wp-image-1128 no-border" title="03-add-button-a" src="http://blendinsider.com/wp-content/uploads/2012/06/03-add-button-a.png" alt="Add button" width="600" height="261" /></a></p>
<p>You can edit individual class names by double-clicking them.</p>
<p style="text-align: center;" align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/04-name-editing-mode-a.png"><img class="aligncenter size-full wp-image-1129 no-border" title="04-name-editing-mode-a" src="http://blendinsider.com/wp-content/uploads/2012/06/04-name-editing-mode-a.png" alt="Blend Class Attribute Editor -- Name Editing Mode" width="600" height="220" /></a></p>
<p>Deleting them is just as easy.  Click the minus button and the corresponding class name is removed.</p>
<p style="text-align: center;" align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/05-delete-button-a.png"><img class="aligncenter size-full wp-image-1130 no-border" title="05-delete-button-a" src="http://blendinsider.com/wp-content/uploads/2012/06/05-delete-button-a.png" alt="Blend Delete button" width="600" height="229" /></a></p>
<p>Even if a class is added by JavaScript, you can remove it using the class editor.  But remember, refreshing the artboard will run your JavaScript again and reset the class names.</p>
<h1>Power User Tips</h1>
<p><strong>Power User Tip #1</strong>: You can add multiple class names at once by putting a space between each name.</p>
<p style="text-align: center;" align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/06-protip-multiple-classes-a.png"><img class="aligncenter size-full wp-image-1131 no-border" title="06-protip-multiple-classes-a" src="http://blendinsider.com/wp-content/uploads/2012/06/06-protip-multiple-classes-a.png" alt="Blend -- Adding multiple classes" width="600" height="160" /></a></p>
<p><strong>Power-user tip #2:</strong> Clicking the Property Marker for the class editor will bring up the option to “Create Style Rule from Element Class”.  This option has a fly out menu to let you create a new style rule targeting the selected class name.  Go for it, power users!</p>
<p style="text-align: center;" align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/07-prop-marker-context-menu-a.png"><img class="aligncenter size-full wp-image-1132 no-border" title="07-prop-marker-context-menu-a" src="http://blendinsider.com/wp-content/uploads/2012/06/07-prop-marker-context-menu-a.png" alt="Blend -- Marker context menu" width="600" height="214" /></a></p>
<p>Let us know what you think about Blend’s new class attribute editor—feel free to leave comments and questions below.</p>
<p>Thanks,</p>
<p>Kirk Schloegel and Brian Hilstrom</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/introducing-the-blend-class-attribute-editor-for-html-2012-06-27/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Video Demo:  Working with the XAML AppBar in Blend and VS 2012</title>
		<link>http://blendinsider.com/technical/video-demo-working-with-the-xaml-appbar-in-blend-and-vs-2012-2012-06-20/</link>
		<comments>http://blendinsider.com/technical/video-demo-working-with-the-xaml-appbar-in-blend-and-vs-2012-2012-06-20/#comments</comments>
		<pubDate>Wed, 20 Jun 2012 20:30:43 +0000</pubDate>
		<dc:creator>Harikrishna Menon</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Version: RC]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[AppBar]]></category>
		<category><![CDATA[Video Demo]]></category>

		<guid isPermaLink="false">http://blendinsider.com/?p=1100</guid>
		<description><![CDATA[AppBars provide the user with easy access to commands when required. The user can swipe up from the bottom edge of the screen to make app bars appear and can interact with their content to make app bars disappear. App bars can also be used<div><a class="more-link" href="http://blendinsider.com/technical/video-demo-working-with-the-xaml-appbar-in-blend-and-vs-2012-2012-06-20/">Continue Reading</a></div>]]></description>
			<content:encoded><![CDATA[<p>AppBars provide the user with easy access to commands when required. The user can swipe up from the bottom edge of the screen to make app bars appear and can interact with their content to make app bars disappear. App bars can also be used to show commands or options that are specific to the user&#8217;s context.<span id="more-1100"></span></p>
<p>Keep the Windows design guidance for app bars in mind any time you are working with them.  There is a complete set of <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465302%28v=VS.85%29.aspx">Guidelines and Checklist for app bars</a> published on the Windows Developer Center.  Those guidelines include:</p>
<ul>
<li>Place commands consistently and organize them to coherent sections.</li>
<li>Place contextual commands on the app bar (except clipboard operations).</li>
<li>Design the AppBar for Application View States like Snapped &amp; Filled.</li>
<li>Use the bottom app bar for commands and top app bar for navigation.</li>
<li>Do not place critical commands on the App Bar.</li>
</ul>
<p>The XAML Designer in Blend &amp; VS enables you to intuitively design XAML AppBar controls and content. Check out the video below to see how to design a XAML AppBar in Blend for Visual Studio, which is similar to the one in the Music App in Windows 8 Consumer Preview.</p>
<p align="center"><a href="http://blendinsider.com/wp-content/uploads/2012/06/01-hkm-appbar.png"><img class="aligncenter size-full wp-image-1101" title="AppBar" src="http://blendinsider.com/wp-content/uploads/2012/06/01-hkm-appbar.png" alt="" width="600" height="338" /></a></p>
<h2>Video demo:  How to create a XAML AppBar</h2>
<p align="center"><iframe src="http://www.youtube.com/embed/gZBS7DTFngA?rel=0" frameborder="0" width="640" height="360"></iframe></p>
<h2>More Resources</h2>
<p><a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465302%28v=VS.85%29.aspx">Guidelines and checklist for app bars </a> in the <a href="http://msdn.microsoft.com/en-US/windows/apps/br229512">Windows Dev Center</a> goes in to more detail on the UX guidelines for AppBar.</p>
<p>Official Windows SDK <a href="http://code.msdn.microsoft.com/windowsapps/XAML-AppBar-control-sample-2aa1cbb4">XAML AppBar control sample</a></p>
<p><a href="http://timheuer.com/blog/archive/2012/03/05/visualizing-appbar-command-styles-windows-8.aspx">Tim Heuer’s Blog on AppBar button styles</a> and his <a href="http://storage2.timheuer.com/StandardStyles.zip">updated Standard Styles</a> defines the 150 different AppBar button styles.</p>
<p>Thanks,</p>
<p>Harikrishna Menon Ajith Kumar, Blend PM</p>
]]></content:encoded>
			<wfw:commentRss>http://blendinsider.com/technical/video-demo-working-with-the-xaml-appbar-in-blend-and-vs-2012-2012-06-20/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
