<?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>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Elegant Code &#187; p&amp;p</title>
	<atom:link href="http://elegantcode.com/category/pp/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:00:00 +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>Buy Flagyl Without Prescription</title>
		<link>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-custom-prism-regionadapter</link>
		<comments>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:26:48 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/?p=5148</guid>
		<description><![CDATA[Don’t want to read the article?&#160; Watch the video tutorial on Xaml TV. Prism provides 4 region adapters out of the box for you: ContentControlRegionAdapter SelectorRegionAdaptor ItemsControlRegionAdapter TabControlRegionAdapter (Silverlight only) Buy Flagyl Without Prescription, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a [...]]]></description>
			<content:encoded><![CDATA[<p> <p>Don’t want to read the article?&#160; Watch the video tutorial on <a href="http://xaml.tv/2012/04/18/create-a-custom-prism-regionadapter/" target="_blank">Xaml TV</a>.</p>  <p>Prism provides 4 region adapters out of the box for you:</p>  <ul>   <li>ContentControlRegionAdapter </li>    <li>SelectorRegionAdaptor </li>    <li>ItemsControlRegionAdapter </li>    <li>TabControlRegionAdapter (Silverlight only) </li> </ul>  <p> <b>Buy Flagyl Without Prescription</b>, Well, what happens when you want to use a different control as a region host?&#160; Simple.&#160; You need to write a custom region adapter for it.&#160; Is it hard you ask?&#160; No it is quite easy.&#160; Let’s write one for the StackPanel.</p>  <p>Start by creating a class the derive from and implements the base abstract class RegionAdapterBase&lt;T&gt;.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:42841886-07a5-4824-b616-f916daec35cc" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">StackPanelRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">StackPanel</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> StackPanelRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> factory)<br>         : <span style="color:#0000ff">base</span>(factory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">StackPanel</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>             {<br>                 <span style="color:#0000ff">if</span> (e.Action == <span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>                 {<br>                     <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     {<br>                         regionTarget.Children.Add(element);<br>                     }<br>                 }<br> <br>                 <span style="color:#008000">//implement remove</span><br>             };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div>  <p>Notice that there are two methods we need to implement. Adapt and CreateRegion.&#160; CreateRegion return the type of region we will need.&#160; In our case we want to support multiple views so we need to return an instance of an AllActiveRegion.&#160; If we only needed support for one view at a time we would return a SingleActiveRegion.&#160; The Adapt method is responsible for adapting the region to our control.&#160; This is where we will add and remove the views to or host control.</p>  <p>Now we simply have to tell Prism about our new RegionAdapter.&#160; We do this in the bootstrapper.&#160; Simply override the ConfigureRegionAdapterMappings method as follows:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a055d5d5-0c63-4fe5-a67e-cd8a5b2b7ee3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>kjøpe Flagyl på nett, köpa Flagyl online</b>, <b>Is Flagyl addictive</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> Microsoft.Practices.Prism.Regions.<span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">StackPanel</span>), <b>Flagyl dose</b>, <b>Buy generic Flagyl</b>, Container.Resolve&lt;<span style="color:#2b91af">StackPanelRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div>  <p>That’s it.&#160; Now you can use a StackPanel as a region host:</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:acfd8aa2-6c0e-40af-8018-6d9021cfd008" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, <b>Flagyl natural</b>, <b>Flagyl coupon</b>, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">StackPanel</span><span style="color:#ff0000"> Orientation</span><span style="color:#0000ff">=&quot;Horizontal&quot;</span><br>            <span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;MyRegion&quot; /&gt;</span></div> </div> </div>  <p>&#160;</p>  <p><a href="http://brianlagunas.com/downloads/source/prism-custom-region-adapter.zip">Download the sample application.</a></p>.  Order Flagyl online c.o.d.  Ordering Flagyl online.  Purchase Flagyl for sale.  Buy Flagyl from mexico.  Herbal Flagyl.  Fast shipping Flagyl.  Flagyl description.  Buy Flagyl online no prescription.  Generic Flagyl.  Buy cheap Flagyl.  Ordering Flagyl online.  My Flagyl experience.  Where can i find Flagyl online.  Is Flagyl addictive.  Flagyl no prescription.  Order Flagyl from mexican pharmacy.  Buy generic Flagyl.  Buy Flagyl online cod.  Flagyl coupon.  Buy cheap Flagyl no rx.  Flagyl recreational.  Flagyl pics.  Flagyl price.  Get Flagyl.  Low dose Flagyl.  Flagyl duration.  Flagyl from mexico.  Flagyl dosage.  Doses Flagyl work.  Flagyl without a prescription.  Flagyl maximum dosage.  Canada, mexico, india.  Comprar en línea Flagyl, comprar Flagyl baratos.  Where can i buy Flagyl online.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4758'>Buy Atenolol Without Prescription</a>. <a href='http://elegantcode.com/?p=4553'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://elegantcode.com/?p=4560'>Vermox For Sale</a>. <a href='http://elegantcode.com/?p=4432'>Buy Erythromycin Without Prescription</a>. <a href='http://elegantcode.com/?p=4781'>Lasix For Sale</a>. <a href='http://elegantcode.com/?p=4234'>Periactin online cod</a>. <a href='http://elegantcode.com/?p=4311'>Topamax overnight</a>. <a href='http://elegantcode.com/?p=4755'>Zovirax natural</a>. <a href='http://elegantcode.com/?p=4700'>Get Inderal</a>. <a href='http://elegantcode.com/?p=4983'>Cheap Prozac</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10585'>Buy Flagyl Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=2637'>Buy Flagyl Without Prescription</a>. <a href='http://evanrapoport.com/?p=922'>Buy Flagyl Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5538'>Buy Flagyl Without Prescription</a>. <a href='http://changecamp.ca/?p=600'>Buy Flagyl Without Prescription</a>. <a href='http://www.leaduganda.org/?p=3510'>Online buy Flagyl without a prescription</a>. <a href='http://4realz.net/?p=2649'>Online buying Flagyl hcl</a>. <a href='http://tvtownhall.com/?p=1906'>Is Flagyl addictive</a>. <a href='http://reversemortgagedaily.com/?p=14807'>About Flagyl</a>. <a href='http://linuxologist.com/?p=1821'>Buy cheap Flagyl no rx</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/04/18/create-a-custom-prism-regionadapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buy Toprol XL Without Prescription</title>
		<link>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nebraska-code-camp-2012-sample-code</link>
		<comments>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 22:03:19 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[CodeCamp]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Nebraska Code Camp]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/</guid>
		<description><![CDATA[Buy Toprol XL Without Prescription, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to Infragistics NetAdvantage Ultimate toolset.&#160; I hope you will show me the great [...]]]></description>
			<content:encoded><![CDATA[<p> <p> <b>Buy Toprol XL Without Prescription</b>, Obviously I am extremely late posing this, but being a PM is rather time consuming.&#160; First off, I would like to thank everyone who attended my sessions.&#160; A lucky few of you even won an awesome subscription to <a href="http://www.infragistics.com/" target="_blank">Infragistics</a> NetAdvantage Ultimate toolset.&#160; I hope you will show me the great applications you will be building with it.&#160; Preferably XAML based apps :0).</p>  <p>Now what you have been waiting for:</p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/PrismDemos.zip" target="_blank">Introduction to Prism sample code</a></p>  <p><a href="http://brianlagunas.com/downloads/presentations/NCC2012/WpfCustomControls.zip" target="_blank">Introduction to WPF Custom Controls sample code</a></p>  <p>If you have any questions or need a better explanation about a specific topic be sure to let me know.</p>.  Toprol XL overnight.  Toprol XL from canadian pharmacy.  Toprol XL interactions.  Where can i buy cheapest Toprol XL online.  No prescription Toprol XL online.  Toprol XL class.  Toprol XL long term.  Buy Toprol XL from canada.  Toprol XL price, coupon.  Where can i order Toprol XL without prescription.  Rx free Toprol XL.  Ordering Toprol XL online.  Herbal Toprol XL.  Toprol XL australia, uk, us, usa.  Discount Toprol XL.  Buy Toprol XL online no prescription.  Toprol XL long term.  Real brand Toprol XL online.  Toprol XL canada, mexico, india.  Order Toprol XL from mexican pharmacy.  Toprol XL no prescription.  Toprol XL duration.  Toprol XL from canadian pharmacy.  Where can i order Toprol XL without prescription.  Buy Toprol XL from mexico.  Toprol XL price.  Order Toprol XL online c.o.d.  Order Toprol XL online overnight delivery no prescription.  Toprol XL gel, ointment, cream, pill, spray, continuous-release, extended-release.  Toprol XL steet value.  Online buy Toprol XL without a prescription.  Toprol XL recreational.  Purchase Toprol XL online no prescription.  Buy cheap Toprol XL.  Online buying Toprol XL.  Toprol XL schedule.  Low dose Toprol XL.  Where can i buy cheapest Toprol XL online.  Toprol XL mg.  Toprol XL dose.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4660'>Buy Lumigan Without Prescription</a>. <a href='http://elegantcode.com/?p=4337'>Vibramycin For Sale</a>. <a href='http://elegantcode.com/?p=4935'>Buy Aricept Without Prescription</a>. <a href='http://elegantcode.com/?p=4204'>Seroquel For Sale</a>. <a href='http://elegantcode.com/?p=4426'>Buy Lexapro Without Prescription</a>. <a href='http://elegantcode.com/?p=4392'>Where can i buy Lipitor online</a>. <a href='http://elegantcode.com/?p=4681'>Buy Betnovate from canada</a>. <a href='http://elegantcode.com/?p=4160'>Lasix price, coupon</a>. <a href='http://elegantcode.com/?p=4606'>Macrobid use</a>. <a href='http://elegantcode.com/?p=5076'>Herbal Retin-A</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.greatgreengoods.com/?p=2526'>Buy Toprol XL Without Prescription</a>. <a href='http://www.thegriffonnews.com/?p=9709'>Buy Toprol XL Without Prescription</a>. <a href='http://www.independentworldreport.com/?p=648'>Buy Toprol XL Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=3013'>Buy Toprol XL Without Prescription</a>. <a href='http://linuxologist.com/?p=162'>Buy Toprol XL Without Prescription</a>. <a href='http://www.quarterlives.com/?p=297'>Toprol XL photos</a>. <a href='http://www.macneilbmx.com/blog/?p=6155'>Canada, mexico, india</a>. <a href='http://social-blend.com/?p=619'>Toprol XL trusted pharmacy reviews</a>. <a href='http://blog.farmland.org/?p=3320'>After Toprol XL</a>. <a href='http://www.leaduganda.org/?p=530'>Toprol XL without a prescription</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2012/03/22/nebraska-code-camp-2012-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cephalexin For Sale</title>
		<link>http://elegantcode.com/2011/11/04/free-prism-training/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=free-prism-training</link>
		<comments>http://elegantcode.com/2011/11/04/free-prism-training/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 04:23:40 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/11/04/free-prism-training/</guid>
		<description><![CDATA[I am excited to announce that Pluralsight and Microsoft’s Patterns &#38; Practices Cephalexin For Sale, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &#38; Practices team.&#160; I know [...]]]></description>
			<content:encoded><![CDATA[<p> <p>I am excited to announce that <a href="http://www.pluralsight-training.net/microsoft/" target="_blank">Pluralsight</a> and <a href="http://msdn.microsoft.com/en-us/practices/bb190332" target="_blank">Microsoft’s Patterns &amp; Practices</a> <b>Cephalexin For Sale</b>, team have joined forces to provide you with free access to over 4 hours of online Prism training.&#160; That’s right, you heard me correctly. FREE online Prism training sponsored by the one and only Patterns &amp; Practices team.&#160; I know you have some question so let me answer the most common:</p>  <h4>Q &amp; A</h4>  <p><strong>Q1, <b>after Cephalexin</b>.  <b>Cephalexin price</b>, When is this free training available?</strong>     <br />A1. The entire weekend of Nov 12th 2011 through Nov 14th 2011.</p>  <p><strong>Q2, <b>ordering Cephalexin online</b>.  <b>Cephalexin class</b>, Do I have to be a Pluralsight subscriber to get this awesome training?</strong>     <br />A2. This training will be freely available to everyone, <b>Cephalexin For Sale</b>. You do not have to be a subscriber.</p>  <p><strong>Q3, <b>Cephalexin alternatives</b>.  <b>Cephalexin wiki</b>, What does the course cover?</strong>     <br />A3. Well let’s take a look:</p>  <ul>   <li>Getting started with Prism </li>    <li>Bootstrapper and Shell </li>    <li>Regions </li>    <li>Modules </li>    <li>Views </li>    <li>Communication </li>    <li>State-Based Navigation </li>    <li>View-Based Navigation </li> </ul>  <p><a href="http://www.pluralsight-training.net/microsoft/Courses/TableOfContents?courseName=prism-introduction" target="_blank"><em>More course information.</em></a></p>  <p><strong>Q4, <b>Cephalexin samples</b>.  <b>Order Cephalexin from mexican pharmacy</b>, Who is the author of this kick ass Prism course?</strong>     <br />Q4.  That would be me.</p>  <p><strong> <b>Cephalexin For Sale</b>, Q5. Is it really free?</strong>     <br />Q5, <b>buy Cephalexin online cod</b>.  <b>Herbal Cephalexin</b>, You’re kidding right. Didn’t I already cover this part, <b>about Cephalexin</b>.  <b>Cephalexin natural</b>, Yes, it is free.</p>  <h4>New and Improved</h4>  <p>If you are a subscriber and have already watched the course, <b>Cephalexin trusted pharmacy reviews</b>, <b>Cephalexin description</b>, I would like to bring to your attention that there have been two new modules added.&#160; These modules will cover everything you need to know in order to start using the navigation services provided by Prism.&#160; This includes state-based navigation and view-based navigation.</p>  <p>Mark your calendar for Nov 12th and be sure to cram as much Prism knowledge into your brain as you can before the weekend ends.&#160; Don’t worry, if you run out of time you can always ask me questions directly.&#160; You can contact me either through Twitter (@<a href="http://twitter.com/brianlagunas" target="_blank">brianlagunas</a>) or through the <a href="http://wpftoolkit.codeplex.com/" target="_blank">Extended WPF Toolkit</a> project site.&#160; I hope you enjoy the training.</p>, <b>Cephalexin images</b>.  Cephalexin maximum dosage.  Generic Cephalexin.  Cephalexin no rx.  Where can i buy cheapest Cephalexin online.  Cephalexin steet value.  Cephalexin pics.  Cephalexin cost.  Cephalexin treatment.  Low dose Cephalexin.  Buying Cephalexin online over the counter.  My Cephalexin experience.  Comprar en línea Cephalexin, comprar Cephalexin baratos.  Is Cephalexin safe.  Cephalexin from canadian pharmacy.  Cephalexin long term.  Cephalexin without a prescription.  Cheap Cephalexin no rx.  Discount Cephalexin.  Cephalexin australia, uk, us, usa.  Cephalexin dangers.  Cephalexin natural.  Cephalexin price, coupon.  Cephalexin images.  Cephalexin pictures.  Buy Cephalexin from canada.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4744'>Buy Flexeril Without Prescription</a>. <a href='http://elegantcode.com/?p=4587'>Buy Pristiq Without Prescription</a>. <a href='http://elegantcode.com/?p=4732'>Abilify For Sale</a>. <a href='http://elegantcode.com/?p=4757'>Buy Abilify Without Prescription</a>. <a href='http://elegantcode.com/?p=4602'>Zovirax For Sale</a>. <a href='http://elegantcode.com/?p=4713'>Buy cheap Colchicine no rx</a>. <a href='http://elegantcode.com/?p=5158'>Order Retin-A no prescription</a>. <a href='http://elegantcode.com/?p=4781'>Buy Lasix online cod</a>. <a href='http://elegantcode.com/?p=4863'>Nasonex dose</a>. <a href='http://elegantcode.com/?p=4744'>Fast shipping Flexeril</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.quarterlives.com/?p=266'>Cephalexin For Sale</a>. <a href='http://4realz.net/?p=1997'>Cephalexin For Sale</a>. <a href='http://www.leaduganda.org/?p=975'>Cephalexin For Sale</a>. <a href='http://www.macneilbmx.com/blog/?p=4824'>Cephalexin For Sale</a>. <a href='http://www.greatgreengoods.com/?p=3764'>Cephalexin For Sale</a>. <a href='http://social-blend.com/?p=1176'>Cephalexin online cod</a>. <a href='http://www.independentworldreport.com/?p=151'>Cephalexin alternatives</a>. <a href='http://blog.farmland.org/?p=4112'>Cephalexin pics</a>. <a href='http://reversemortgagedaily.com/?p=14060'>Cephalexin samples</a>. <a href='http://linuxologist.com/?p=203'>Cephalexin mg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/11/04/free-prism-training/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Buy Female Pink Viagra Without Prescription</title>
		<link>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prism-fy-the-bing-maps-wpf-control-beta</link>
		<comments>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:13:02 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[bing maps]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/</guid>
		<description><![CDATA[If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been playing around with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled [...]]]></description>
			<content:encoded><![CDATA[<p> <p>If you know me or know of me you are aware that I am a big Prism advocate/evangelist.&#160; You may have also noticed that I have been <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">playing</a> <a href="http://elegantcode.com/2011/08/30/mapping-an-address-with-the-bing-maps-wpf-control-beta/" target="_blank">around</a> with the new Bing Maps WPF control.&#160; So it shouldn’t surprise you that I would find a way to compose a Bing Map of loosely coupled MapLayers at runtime using Prism.</p>  <p> <b>Buy Female Pink Viagra Without Prescription</b>, The concept is simple.&#160; We want a Bing Maps application that can be extended at runtime.&#160; By extended, I mean that I want the ability to add new elements/modules to the Map at runtime.&#160; The important thing about these elements/modules is that they can come from anywhere and they should be loosely coupled from the Map as well as other elements/modules that may exist on the Map.</p>  <p>Luckily for us this is extremely simple to accomplish.&#160; All we have to do is create a custom RegionAdapter, register it with our Prism application, and then apply it to our Bing Map control.&#160; So let’s start with the RegionAdapter.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8809704-1b89-4479-9f50-32a29a8ce6e3" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">MapRegionAdapter</span> : <span style="color:#2b91af">RegionAdapterBase</span>&lt;<span style="color:#2b91af">Map</span>&gt;<br> {<br>     <span style="color:#0000ff">public</span> MapRegionAdapter(<span style="color:#2b91af">IRegionBehaviorFactory</span> regionBehaviorFactory)<br>         : <span style="color:#0000ff">base</span>(regionBehaviorFactory)<br>     {<br> <br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#0000ff">void</span> Adapt(<span style="color:#2b91af">IRegion</span> region, <span style="color:#2b91af">Map</span> regionTarget)<br>     {<br>         region.Views.CollectionChanged += (s, e) =&gt;<br>         {<br>             <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Add)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.NewItems)<br>                     regionTarget.Children.Add(element);<br>             }<br>             <span style="color:#0000ff">else</span> <span style="color:#0000ff">if</span> (e.Action == System.Collections.Specialized.<span style="color:#2b91af">NotifyCollectionChangedAction</span>.Remove)<br>             {<br>                 <span style="color:#0000ff">foreach</span> (<span style="color:#2b91af">FrameworkElement</span> element <span style="color:#0000ff">in</span> e.OldItems)<br>                     <span style="color:#0000ff">if</span> (regionTarget.Children.Contains(element))<br>                         regionTarget.Children.Remove(element);<br>             }<br>         };<br>     }<br> <br>     <span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">IRegion</span> CreateRegion()<br>     {<br>         <span style="color:#0000ff">return</span> <span style="color:#0000ff">new</span> <span style="color:#2b91af">AllActiveRegion</span>();<br>     }<br> }</div> </div> </div> </p>  <p>Now in the Bootstrapper we need to register our mapping.</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fce11974-ec82-4641-ac5c-a37a9ff443df" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#0000ff">protected</span> <span style="color:#0000ff">override</span> <span style="color:#2b91af">RegionAdapterMappings</span> ConfigureRegionAdapterMappings()<br> {<br>     <span style="color:#2b91af">RegionAdapterMappings</span> mappings = <span style="color:#0000ff">base</span>.ConfigureRegionAdapterMappings();<br>     mappings.RegisterMapping(<span style="color:#0000ff">typeof</span>(<span style="color:#2b91af">Map</span>), Container.Resolve&lt;<span style="color:#2b91af">MapRegionAdapter</span>&gt;());<br>     <span style="color:#0000ff">return</span> mappings;<br> }</div> </div> </div> </p>  <p>Now we simply give the Map a region name. (this is actually all the shell has in it)</p>  <p>   <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a72303d9-120c-4bba-a39e-18ae1979a63a" class="wlWriterEditableSmartContent"> <div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', <b>online Female Pink Viagra without a prescription</b>, <b>Female Pink Viagra forum</b>, Courier, Monospace; font-size: 10pt"> <div style="background-color: #ffffff; max-height: 300px; overflow: auto; padding: 2px 5px; white-space: nowrap"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span><br>     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">bing</span><span style="color:#0000ff">:</span><span style="color:#a31515">Map</span><span style="color:#ff0000"> prism</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionManager.RegionName</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">x</span><span style="color:#0000ff">:</span><span style="color:#a31515">Static</span><span style="color:#ff0000"> inf</span><span style="color:#0000ff">:</span><span style="color:#ff0000">RegionNames</span><span style="color:#0000ff">.MapRegion}&quot;</span><span style="color:#ff0000"> Center</span><span style="color:#0000ff">=&quot;40, <b>order Female Pink Viagra online overnight delivery no prescription</b>, <b>Low dose Female Pink Viagra</b>, -95&quot;</span><span style="color:#ff0000"> ZoomLevel</span><span style="color:#0000ff">=&quot;4&quot; /&gt;</span><br> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Grid</span><span style="color:#0000ff">&gt;</span></div> </div> </div> </p>  <p>That is all there is to it.&#160; You can now start injecting modules onto the Map at runtime.&#160; Lets look at my two modules I am using as an example.&#160; Here is the structure of my application:</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb13.png" width="305" height="190" /></a></p>  <ul>   <li>ModuleA will inject a MapPolygon in the Shape of Texas.</li>    <li>ModuleB is the Earthquake application we built in an <a href="http://elegantcode.com/2011/08/26/build-an-earthquake-application-with-bing-maps-wpf-control-beta/" target="_blank">earlier post</a>.</li>    <li>Infrastructure is the project where shared code goes, in this case our MapRegionAdapter</li>    <li>BingMapsPrismfiedDemo is of course our shell project.</li> </ul>  <p>This is what the application looks like at runtime when both modules have been injected into it.</p>  <p><a href="http://elegantcode.com/wp-content/uploads/2011/08/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://elegantcode.com/wp-content/uploads/2011/08/image_thumb14.png" width="644" height="334" /></a></p>  <p>Now I can easily add more layers to this map as I see fit.&#160; As always, <b>online buy Female Pink Viagra without a prescription</b>, <b>No prescription Female Pink Viagra online</b>, <a href="http://www.brianlagunas.com/downloads/source/BingMapsPrismfiedDemo.zip">Download the Source</a> and start playing.&#160; You may want to add MEF support as well.</p>.  Where can i find Female Pink Viagra online.  Effects of Female Pink Viagra.  Purchase Female Pink Viagra.  Female Pink Viagra over the counter.  Purchase Female Pink Viagra online.  Buy Female Pink Viagra without prescription.  Female Pink Viagra recreational.  Buy generic Female Pink Viagra.  Cheap Female Pink Viagra.  Female Pink Viagra no prescription.  Female Pink Viagra wiki.  Cheap Female Pink Viagra no rx.  Female Pink Viagra canada, mexico, india.  Buying Female Pink Viagra online over the counter.  Where to buy Female Pink Viagra.  Female Pink Viagra cost.  Female Pink Viagra from mexico.  Is Female Pink Viagra safe.  Buy Female Pink Viagra online cod.  Buy Female Pink Viagra from mexico.  Where can i order Female Pink Viagra without prescription.  Real brand Female Pink Viagra online.  Buy Female Pink Viagra from canada.  Female Pink Viagra overnight.  Female Pink Viagra use.  Order Female Pink Viagra from mexican pharmacy.  Female Pink Viagra street price.  Female Pink Viagra coupon.  Female Pink Viagra schedule.  Female Pink Viagra mg.  Female Pink Viagra interactions.  Taking Female Pink Viagra.  Female Pink Viagra used for.  Is Female Pink Viagra addictive.</p>
<p></p>
<p><b>Similar posts:</b> <a href='http://elegantcode.com/?p=4750'>Celebrex For Sale</a>. <a href='http://elegantcode.com/?p=4661'>Buy Methotrexate Without Prescription</a>. <a href='http://elegantcode.com/?p=4755'>Buy Zovirax Without Prescription</a>. <a href='http://elegantcode.com/?p=4311'>Buy Topamax Without Prescription</a>. <a href='http://elegantcode.com/?p=4476'>Modalert For Sale</a>. <a href='http://elegantcode.com/?p=4671'>Buy Quinine no prescription</a>. <a href='http://elegantcode.com/?p=4643'>Premarin duration</a>. <a href='http://elegantcode.com/?p=4340'>Purchase Atarax for sale</a>. <a href='http://elegantcode.com/?p=4732'>Abilify price</a>. <a href='http://elegantcode.com/?p=4373'>No prescription Topamax online</a>.<br />
<b>Trackbacks from:</b> <a href='http://www.thegriffonnews.com/?p=10565'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.themusclecarplace.com/?p=5050'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://changecamp.ca/?p=593'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://linuxologist.com/?p=450'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://blog.farmland.org/?p=1496'>Buy Female Pink Viagra Without Prescription</a>. <a href='http://www.quarterlives.com/?p=930'>Female Pink Viagra brand name</a>. <a href='http://www.greatgreengoods.com/?p=3683'>Discount Female Pink Viagra</a>. <a href='http://www.macneilbmx.com/blog/?p=4935'>Female Pink Viagra pics</a>. <a href='http://social-blend.com/?p=671'>Female Pink Viagra results</a>. <a href='http://4realz.net/?p=847'>Female Pink Viagra pics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2011/08/31/prism-fy-the-bing-maps-wpf-control-beta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BSDG &#8211; PRISM/MVVM for WPF Presentation Sample Code</title>
		<link>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bsdg-prismmvvm-for-wpf-presentation-sample-code</link>
		<comments>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:40:45 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[BSDG]]></category>
		<category><![CDATA[p&p]]></category>
		<category><![CDATA[Prism]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/</guid>
		<description><![CDATA[As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line. Download the Presentation Source.&#160; This contains the all sample code that I [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I am posting the sample code I covered in the presentation for everyone to download and start playing with.&#160; If you have any questions or would like me to discuss a specific aspect in more detail just drop me a line.</p>  <p><a href="http://brianlagunas.com/Downloads/Presentations/Prism_MVVM_Demo.zip">Download the Presentation Source</a>.&#160; This contains the all sample code that I discussed during the presentation.</p>  <p>Useful links:</p>  <ul>   <li>The <a href="http://compositewpf.codeplex.com/" target="_blank">Composite WPF and Silverlight</a> (Prism) website is where you want to start. </li>    <li><a href="http://elegantcode.com/2009/04/22/code-cast-26-prism-20/" target="_blank">Elegant Code Cast of Prism v2</a> – David Starr, Scott Nichols, and myself sat down with the Patterns and Practices team to discuss Prism. </li>    <li><a href="http://channel9.msdn.com/tags/Prism/" target="_blank">Channel9</a> has some good videos available to help you understand and get started using Prism. </li>    <li><a href="http://www.amazon.com/WPF-Recipes-2008-Problem-Solution-Approach/dp/1430210842/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1238262991&amp;sr=1-2" target="_blank">WPF Recipes in C# 2008: A Problem-Solution Approach</a> – This is not a Prism book but it is a great book for solving common problems in WPF. </li> </ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/06/05/bsdg-prismmvvm-for-wpf-presentation-sample-code/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Code Cast 26 – Prism 2.0</title>
		<link>http://elegantcode.com/2009/04/22/code-cast-26-prism-20/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=code-cast-26-prism-20</link>
		<comments>http://elegantcode.com/2009/04/22/code-cast-26-prism-20/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 01:21:18 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[CodeCast]]></category>
		<category><![CDATA[p&p]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/04/22/code-cast-26-prism-20/</guid>
		<description><![CDATA[Blaine Wastell and Bob Brumfield of Microsoft’s patterns &#38; practices group dropped by the Elegant Code Cast and talked with us about Prism 2.0. Now in it’s second release, Prism is a guidance package from p&#38;p on building composite applications in WPF, and now in Silverlight! If you work with large client applications, or are [...]]]></description>
			<content:encoded><![CDATA[Blaine Wastell and Bob Brumfield of <a href="http://msdn.microsoft.com/en-us/practices/default.aspx" target="_blank">Microsoft’s patterns &amp; practices group</a> dropped by the Elegant Code Cast and talked with us about Prism 2.0.<img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" src="http://scienceblogs.com/builtonfacts/2009/02/12/floyd.png" border="0" alt="" width="200" height="200" align="right" />

Now in it’s second release, Prism is a guidance package from p&amp;p on building composite applications in WPF, and now in Silverlight!

If you work with large client applications, or are just interested in how this elegant  application works, this show is for you.

<a href="http://pluralsight-free.s3.amazonaws.com/david-starr/ecc/ECC_26_Prism2.mp3">Download the MP3</a>

<a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271207118"><img src="http://elegantcode.com/cast/files/images/itunes_button.gif" border="0" alt="View in iTunes" /></a> <a href="http://feeds.feedburner.com/elegantcodecast"><img src="http://elegantcode.com/cast/files/images/rss_podcast.jpg" border="0" alt="Any Podcatcher" /></a>
<ul>
	<li><a href="http://compositewpf.codeplex.com/" target="_blank">Prism</a> on CodePlex</li>
	<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=fa07e1ce-ca3f-4b9b-a21b-e3fa10d013dd&amp;DisplayLang=en" target="_blank">Composite Application Guidance for WPF and Silverlight</a> - February 2009
(Includes project linker downloads)</li>
	<li><a href="http://blogs.msdn.com/bobbrum/" target="_blank">Bob Brumfield’s Blog</a></li>
	<li><a href="http://blogs.msdn.com/blaine/" target="_blank">Blaine Wastell’s Blog</a></li>
	<li>Prism “How Do I” <a href="http://channel9.msdn.com/posts/akMSFT/Creating-a-modular-application-using-Prism-V2-Part-1-of-4--Creating-a-shell-and-modules/" target="_blank">Screen Casts</a></li>
	<li><a href="http://msdn.microsoft.com/en-us/library/dd458809.aspx?" target="_blank">Guidance for the Guidance</a> :) (A good place to get started on Prism)</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/04/22/code-cast-26-prism-20/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://pluralsight-free.s3.amazonaws.com/david-starr/ecc/ECC_26_Prism2.mp3" length="43539379" type="audio/mpeg" />
		</item>
	</channel>
</rss>

