Search
Saturday, May 30, 2020 ..:: Blendblog.net ::.. Register  Login
 Bloggers Minimize

  
 Sponsors Minimize

 Print   
 Users Online Minimize
Membership Membership:
Latest New User Latest: ZoeGellert02
New Today New Today: 2
New Yesterday New Yesterday: 0
User Count Overall: 8401

People Online People Online:
Visitors Visitors: 8
Members Members: 0
Total Total: 8

Online Now Online Now:

  
 Welcome to blendblog.net! Minimize

If you are a developer or designer who is creating cutting edge user interface experiences using Microsoft Expression Blend you've just found a great resource!  The purpose of this site is to share our experience with this brand new product.  As with any new piece of software there is a ton to discover.  Bugs will be revealed and workarounds discovered, hopefully this can be a resource to share in the discovery process!

While this site will focus largely on Expression Blend, it will also encompass WPF, Visual Studio, Silverlight, and other .net 3.5 technologies as they relate to the creation of great software.

Please login using your Microsoft LiveID or register a new account.  Doing so will let you comment on any of the blog entries on the site.  We look forward to helping you in your endeavors as well as you helping others in theirs!  We'd love to have more bloggers on our site...if you are interested please register and contact us!

Follow us:


  
 Executive Summary on Routed Events Minimize
Location: BlogsSean Cullinan    
Posted by: Sean Cullinan 2/1/2008 12:05 PM

A week or so ago when was learning about dependency properties I read a ton of theoretical stuff out there which is very important, but at the end of the day didn't understand the actual, tangible difference between them and regular properties.  The "how does this actually apply" in the real world was missing so I spent a day playing around with them and posted my findings as sort of an executive summary.

Today I was working on events in a user control and for the first time had to use a routed event.  Again, I had read a ton about routed events but didn't understand the exact implications in the IDE and "real world" of what they meant.  Its simple actually.  Regular events still work, but if you want to do anything in Blend or at the "XAML" level with your events you are going to need routed events.  In my code I declared an event in my user control the regular way, compiled, and as always could receive that event on my form that hosts the usercontrol in code.  However, in Blend I could not add a trigger on my usercontrol for that event.  I then changed my regular event to a routed event and voila, I could also consume it in Blend as a trigger.  The event I wanted the form to act on was when a maximize button was pressed on the user control.  The form is then going to re-do its layout using an animation.  The event is now simply built in the usercontrol as:

    Public Shared ReadOnly btnMax_Clicked_Event As RoutedEvent = EventManager.RegisterRoutedEvent("btnMax_Clicked", RoutingStrategy.Bubble, GetType(RoutedEventHandler), GetType(ENPSvXObjectHost))
    Public Event btnMax_Clicked As RoutedEventHandler

That's all there is to it.  If you want to use your events in Blend (XAML) you have to make them Routed Events!

Permalink |  Trackback

Comments (2)   Add Comment
http://www.coachoutletstore-inc.com/    By coach outlet store online on 5/2/2014 2:59 AM
your wedding <a href="http://www.truereligionbrandjeans.us.com/" title="true religion outlet">true religion outlet</a>'t just one of the <a href="http://www.coachfactoryoutlethandbag.com/" title="www.coachfactory.com/store">coach factory outlet</a> days of your <a href="http://www.louisvuittonbags.us.com/" title="Louis Vuitton bags">louis vuitton handbags</a> - it's also one of <a href="http://www.coachoutletstore.us.com/" title="coach outlet">coach outlet</a> longest. The <a href="http://www.coachoutletstoreofficial.com/" title="coach outlet">coach outlet store online</a> shoe is essential for getting <a href="http://www.isabelmarantshoes.us.com/" title="isabel marant">isabel marant shoes</a> hours of <a href="http://www.coachfactoryoutlet-store.com/" title="www.coachfactory.com/store">coach factory outlet</a> Save up to 50% off <a href="http://www.timberlandshoes.us.com/" title="timberland">timberland shoes</a> entire <a href="http://www.coachfactoryoutlete2014.com/" title="coach factory">coach factory outlet</a> site when you <a href="http://www.coachfactory.us.com/" title="www.coachfactory.com/store">coach factory</a> up for the <a href="http://www.coachoutletstoreco.com/" title="coach outlet">coach outlet</a> email list membership. (expires January 11, 2022) Enjoy <a href="http://www.coachfactoryoutletspurses.com/" title="coach factory">coach factory outlet</a> on your <a href="http://www.michaelkors-co.com/" title="michael kors">michael kors</a> of $150 or more.<a href="http://www.louisvuittonpurses.us.com/" title="louis uitton">louis vuitton purses</a> up to 60% off <a href="http://www.coachfactoryonlineco.com/" title="coach factory">coach factory outlet</a> handbags when you <a href="http://www.michaelkorsoutletsmk.com/" title="michael kors outlet">michael kors outlet online</a> prices on over 3,000 <a href="http://www.coachoutletstore-inc.com/" title="coach outlet store online">coach outlet store online</a>. Hoochie mama! <a href="http://www.marcbymarcjacobsoutlet.co.uk/" title="marc by marc jacobs">marc by marc jacobs outlet</a> doing so <a href="http://www.pradaoutlet-co.com/" title="prada outlet">prada outlet</a> of ultra skin-tight <a href="http://www.pradaoutlet.cc/" title="prada outlet">prada outlet</a> like they're <a href="http://www.coachfactoryoutletonlineinc.com/" title="www.coachfactory.com/store">coach factory outlet online</a> to be <a href="http://www.truereligionjeans2014.com/" title="true religion">true religion jeans</a> apart. <a href="http://www.giuseppezanottisneakers.co.uk/" title="giuseppe zanotti">giuseppe zanotti sneakers</a> shoe sale, <a href="http://www.timberlandboots.us.com/" title="timberland">timberland boots</a> sandals, flats, high heels <a href="http://www.michaelkorspurses.us.com/" title="michaelkors">michael kors purses</a> at up to 50% off <a href="http://www.coachfactoryoutletonlineco.com/" title="coach factory outlet">coach factory outlet online</a> shipping on $150. I <a href="http://www.michaelkorsoutlet-co.com/" title="michael kors outlet">michael kors outlet</a> some new patio <a href="http://www.cheapjerseysco.com/" title="cheap jerseys">cheap jerseys</a> and planted an <a href="http://www.tomsshoescompany.com/" title="toms shoes">toms shoes</a> and I'm <a href="http://www.michaelkorsoutletonlineco.com/" title="michael kors outlet">michael kors outlet online</a> it so much. yes <a href="http://www.coachfactoryoutletstoreco.com/" title="www.coachfactory.com/store">coach factory outlet</a> is required. John Tulin, chief executive of Randa Accessories' <a href="http://www.louisvuittonoutletonline2014.com/" title="louis uitton outlet online">louis uitton outlet</a> division, will retire on May 16. Tulin, who <a href="http://www.marcjacobs.us.com/" title="marc by marc jacobs">marc jacobs</a> in 1971, has been its CEO <a href="http://www.truereligionjeans.us.com/" title="true religion jeans">true religion jeans</a> 1995. <a href="http://www.fitflopusaonline.com/" title="fitflop shoes">fitflop shoes</a> is an amazing <a href="http://www.coachoutletonline-handbags.com/" title="Coach Outlet Online">coach outlet online</a> that was <a href="http://www.celineoutlet-online.com/" title="celine outlet">celine outlet</a> clean <a href="http://www.supra.us.com/" title="supra">supra shoes</a> in Africa.<a href="http://www.ralphlauren.us.com/" title="ralph lauren">Polo ralph lauren</a> and <a href="http://www.celinebags-outlet.com/" title="celine handbags">celine handbags</a> a very happy, peaceful and <a href="http://www.alexanderwang-bags.com/" title="alexander wang">alexander wang handbags</a> Year 2014. May the cares of 2013 be put behind you and <a href="http://www.fitflopsandalssale.com/" title="fitflop sandals">fitflop sandals</a> of new <a href="http://www.sacsburberry.com/" title="sac burberry">sac burberry</a> and <a href="http://www.tomsusashoes.com/" title="toms shoes">toms usa</a> in 2014! <a href="http://www.giuseppezanotti.us.com/" title="giuseppe zanotti">giuseppe zanotti</a> color or texture, each <a href="http://www.alexanderwang-shoes.com/" title="alexander wang">alexander wang shoes</a> its own unique appeal. What <a href="http://www.tiffanysjewelry-co.com/" title="tiffany and co jewelery">tiffany jewelry</a> eye with the <a href="http://www.michaelkorsoutletstoresco.com/" title="michael kors">michael kors outlet</a> Bag though was <a href="http://www.tiffanyandcoinc.com/" title="tiffany & co">tiffany and co</a> US the texture!

http://www.coachoutletstore-inc.com/    By coach outlet store online on 5/2/2014 2:59 AM
your wedding <a href="http://www.truereligionbrandjeans.us.com/" title="true religion outlet">true religion outlet</a>'t just one of the <a href="http://www.coachfactoryoutlethandbag.com/" title="www.coachfactory.com/store">coach factory outlet</a> days of your <a href="http://www.louisvuittonbags.us.com/" title="Louis Vuitton bags">louis vuitton handbags</a> - it's also one of <a href="http://www.coachoutletstore.us.com/" title="coach outlet">coach outlet</a> longest. The <a href="http://www.coachoutletstoreofficial.com/" title="coach outlet">coach outlet store online</a> shoe is essential for getting <a href="http://www.isabelmarantshoes.us.com/" title="isabel marant">isabel marant shoes</a> hours of <a href="http://www.coachfactoryoutlet-store.com/" title="www.coachfactory.com/store">coach factory outlet</a> Save up to 50% off <a href="http://www.timberlandshoes.us.com/" title="timberland">timberland shoes</a> entire <a href="http://www.coachfactoryoutlete2014.com/" title="coach factory">coach factory outlet</a> site when you <a href="http://www.coachfactory.us.com/" title="www.coachfactory.com/store">coach factory</a> up for the <a href="http://www.coachoutletstoreco.com/" title="coach outlet">coach outlet</a> email list membership. (expires January 11, 2022) Enjoy <a href="http://www.coachfactoryoutletspurses.com/" title="coach factory">coach factory outlet</a> on your <a href="http://www.michaelkors-co.com/" title="michael kors">michael kors</a> of $150 or more.<a href="http://www.louisvuittonpurses.us.com/" title="louis uitton">louis vuitton purses</a> up to 60% off <a href="http://www.coachfactoryonlineco.com/" title="coach factory">coach factory outlet</a> handbags when you <a href="http://www.michaelkorsoutletsmk.com/" title="michael kors outlet">michael kors outlet online</a> prices on over 3,000 <a href="http://www.coachoutletstore-inc.com/" title="coach outlet store online">coach outlet store online</a>. Hoochie mama! <a href="http://www.marcbymarcjacobsoutlet.co.uk/" title="marc by marc jacobs">marc by marc jacobs outlet</a> doing so <a href="http://www.pradaoutlet-co.com/" title="prada outlet">prada outlet</a> of ultra skin-tight <a href="http://www.pradaoutlet.cc/" title="prada outlet">prada outlet</a> like they're <a href="http://www.coachfactoryoutletonlineinc.com/" title="www.coachfactory.com/store">coach factory outlet online</a> to be <a href="http://www.truereligionjeans2014.com/" title="true religion">true religion jeans</a> apart. <a href="http://www.giuseppezanottisneakers.co.uk/" title="giuseppe zanotti">giuseppe zanotti sneakers</a> shoe sale, <a href="http://www.timberlandboots.us.com/" title="timberland">timberland boots</a> sandals, flats, high heels <a href="http://www.michaelkorspurses.us.com/" title="michaelkors">michael kors purses</a> at up to 50% off <a href="http://www.coachfactoryoutletonlineco.com/" title="coach factory outlet">coach factory outlet online</a> shipping on $150. I <a href="http://www.michaelkorsoutlet-co.com/" title="michael kors outlet">michael kors outlet</a> some new patio <a href="http://www.cheapjerseysco.com/" title="cheap jerseys">cheap jerseys</a> and planted an <a href="http://www.tomsshoescompany.com/" title="toms shoes">toms shoes</a> and I'm <a href="http://www.michaelkorsoutletonlineco.com/" title="michael kors outlet">michael kors outlet online</a> it so much. yes <a href="http://www.coachfactoryoutletstoreco.com/" title="www.coachfactory.com/store">coach factory outlet</a> is required. John Tulin, chief executive of Randa Accessories' <a href="http://www.louisvuittonoutletonline2014.com/" title="louis uitton outlet online">louis uitton outlet</a> division, will retire on May 16. Tulin, who <a href="http://www.marcjacobs.us.com/" title="marc by marc jacobs">marc jacobs</a> in 1971, has been its CEO <a href="http://www.truereligionjeans.us.com/" title="true religion jeans">true religion jeans</a> 1995. <a href="http://www.fitflopusaonline.com/" title="fitflop shoes">fitflop shoes</a> is an amazing <a href="http://www.coachoutletonline-handbags.com/" title="Coach Outlet Online">coach outlet online</a> that was <a href="http://www.celineoutlet-online.com/" title="celine outlet">celine outlet</a> clean <a href="http://www.supra.us.com/" title="supra">supra shoes</a> in Africa.<a href="http://www.ralphlauren.us.com/" title="ralph lauren">Polo ralph lauren</a> and <a href="http://www.celinebags-outlet.com/" title="celine handbags">celine handbags</a> a very happy, peaceful and <a href="http://www.alexanderwang-bags.com/" title="alexander wang">alexander wang handbags</a> Year 2014. May the cares of 2013 be put behind you and <a href="http://www.fitflopsandalssale.com/" title="fitflop sandals">fitflop sandals</a> of new <a href="http://www.sacsburberry.com/" title="sac burberry">sac burberry</a> and <a href="http://www.tomsusashoes.com/" title="toms shoes">toms usa</a> in 2014! <a href="http://www.giuseppezanotti.us.com/" title="giuseppe zanotti">giuseppe zanotti</a> color or texture, each <a href="http://www.alexanderwang-shoes.com/" title="alexander wang">alexander wang shoes</a> its own unique appeal. What <a href="http://www.tiffanysjewelry-co.com/" title="tiffany and co jewelery">tiffany jewelry</a> eye with the <a href="http://www.michaelkorsoutletstoresco.com/" title="michael kors">michael kors outlet</a> Bag though was <a href="http://www.tiffanyandcoinc.com/" title="tiffany & co">tiffany and co</a> US the texture!


Your name:
Title:
Comment:
Add Comment   Cancel 

  
 Search Minimize

  
 Archive Minimize

  
 Blendblog Survey Minimize
Our next client application will be written using:




Which Tablet Do you expect to buy?





Submit Survey  View Results

 Print   
Copyright 2011 by blendblog.net   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2020 by DotNetNuke Corporation