Please welcome the XAML platform team to Windows!

image

I got word of a leaked email early yesterday that confirmed what I had been told in passing gossip – the XAML team being disbanded.

This morning I awoke to not just one email but five of them from my various sources all attached with mixed opinions on what it means. Here is my famous (internally in Microsoft, I would send these style of emails about Adobe and their competitive threats) "What Just Happened" response.

We’re pleased to announce the transition of the XAML
platform team from the Developer Division to the Windows team.  While the
team has been working side-by-side with the Windows team for the entire project,
this step brings them into our team formally. 

It is time to start moving the battleships into the attack formation. In that time to start the consolidation into the new ux platform we are about to remake again.

On the upside it means you have a consolidated outcome likely to hit our hard-drives in the next 2-3 years on the downside you have what I would call a technology freeze in effect. If the new iteration of WPF or Silverlight does not comply with the vNext vision, do not hold your breath for a new announcement anytime soon that does not involve Windows 8 future(s).

The team will continue their work on Windows 8 as planned
and will join our Developer Experience (DEVX) team. This transition allows us
to bring together our platform development team in a single-management
structure.

That doesn’t sound to bad, I mean on the surface its just a single management restructure. A day in the life of a Microsoftee where every fiscal year or often more than once you are given new managers because the strategy – scratch that – tactics have changed. That in itself is probably your biggest hint of all around the word commitment, this is not just a case of waiting for a restructure to occur once every 5 years – it happens often.

To clarify, do you keep swapping your generals around in war to the point where the troops effectively stop caring who they are reporting to? Probably not a smart idea but nonetheless.

The dev, test, and pm leaders who will be leading the
team reporting to AlesH, YvesN, and LindaAv are:

• Sujal Parikh, Development Manager 
• Eduardo Leal-Tostado, Test Manager 
• Joe Stegman, Group Program Manager

The leads and individuals joining our team are receiving
this mail and have received communication on next steps.

If most of you who have been involved in the Silverlight ethos are reading then the name, Joe Stegman will probably stand out the most. Joe’s background in the .NET space goes back a ways but in the end Joe’s really been one of the guys under the hierarchy crust of commitment pledges keeping things in the development side of things in check. Officiating his role further in this equation for me is a bit puzzling as it’s kind of the same thing different org tree?

These changes in leadership and organization are
effective today.  For the purposes of finishing out the fiscal year and
the performance review process the team will operate under the existing
management structure.

That is a swift maneuver. Nothing surprising though.

Now onto Soma’s email to the troops which kicked the previous email off (Notice how VP’s etc all pile on from one another with "what he said was.." like somehow being apart of the thread is being seen as a role of importance. Classic Microsoft Victory Email formula, just once I’d like them to send out just one email outlining the change. This is what I’m talking about when I say Microsoft Culture is retarded.

I digress.

MICROSOFT CONFIDENTIAL

Over the last couple of years, our Client and Mobile team
has done a fantastic job of building a number of XAML related technologies that
have been a huge value add to the Microsoft client platforms and an
instrumental part of delighting our developer customers.  The agility and
customer focus that the team has demonstrated over the years has been a
pleasure to watch.

Ooops. Btw this was supposed to be confidential. So do not tell anybody.

Over the last couple of years? From memory, I recall WPF being around for more than a couple of years? Never mind, I keep forgetting everyone internally has forgotten about WPF.

Soma is kind of saying, "thanks for the hard work troops, you managed to outpace most products in Microsoft with your constant brilliance around the word agility, which being said here comes the but to that placating statement.

Today, we are making some organization changes to bring
our platform technologies under a single management structure.  These
changes are centered around three focus areas:

• The team working on XAML technologies for Windows will
move to Windows.

• The team working on XAML technologies for Windows
Phone, Xbox and browser plugin will move to Windows Phone. 

• The Client and Mobile tools teams, including Windows
Phone tools and XAML tools, will stay in DevDiv.

These changes are all effective immediately.  From a
performance review perspective, we will do this year’s performance review under
the DevDiv organization model.

"Today marks a new day troops, for we storm a new beach" is kind of the response to that next piece.

Firstly you have parts of the XAML team(s) parked inside the Windows organization. First impressions on twitter are that "Way to go! Means XAML and Windows are finally going to get along and create awesome XAML experiences"

Have I not shown you the Annie video? Moreover, have I discussed the Orphan Syndrome? "My dad’s going to come for me, he’s rich you…you..you just wait and see"

To me that read as being a case of cherry picking parts of the team to socket into the windows division and their new coding charter will come next. If it involves XAML it will be based around what XAML vNext is likely to be – HTML5 meets Jupiter.

Same with the Phone team, it is what I would call "please standby for further orders" moments.

As for the tooling teams, well you got Cider and Expression Blend team is what that really comes back to. Given most of the Client employees have left, I am not sure what that means suffice to say I am not holding out for a new release for Sketchflow for starters and I am guessing that the Blend teams are not exactly getting high fives for poor sales and download rates to date. If I were in that team, I would be updating my LinkedIn account quickly.

I want to thank Kevin Gallo and the team for all the
great work that they have done over the years.  Moving forward, I’m very
excited to bring the client platform efforts closer to the platform
teams.  There is a lot of very exciting and critical work underway as part
of our next wave of platform releases and I am very eagerly looking forward to
seeing the team’s work in the hands of our developers and customers.

Remember when Mary Jo posted a while back on how Kevin Gallo would be taking over the reins of Scott Guthrie. That’s probably the quickest promotion and I’m not ready to say demotion but I’m not ready to say continuance either – that I’ve seen?

The positive part there is the "next wave of platform releases" that sounds a lot like a continuation of what we have in front of us. Make no mistake there will be a Silverlight 5 and a WPF vNext released next fiscal, its already got most of the code done and it would be foolish to not release those when they can – especially after MIX2011.

Releasing those two would also buy you time for the next 2 fiscals at most. As by doing this you create this calming effect around "see, we’re still working on it..honest" to placate the developer hordes.

That is up to you, you can buy into that sure, and it is hard to debunk given there is not much visibility behind what we are likely to see next – especially given this is tradition within the Microsoft roadmap(s).

For me personally, I’d like to corner Microsoft If I could into giving more concrete assurances that whatever the next wave of bets are that they are either backwards compliance or have parity around what we have today in terms of conceptual features today.

Features for me are not will I be able to still hit F5 without changing code. Features for me are the concepts that are on the table today, around how one manages the out of browser and in-browser functionality – everything from casual gaming through to enterprise ready features (printing, isolated storage, data binding etc).

Going forward.

I think what has happened in this email is the equivalent of me saying "I really like this car, now can we take the wheels and put them over there. In addition, can you take the steering wheel and dashboard and put it over there. Lastly, can you take the engine and well. Just leave it in place for second; I’ll get back to you later on where we can put that next"

It’s clear there is a consolidation happening that I think we can all agree on early. How will the consolidation impact the average .NET developer is likely to be dramatic enough to warrant some applications having to have code refactored down the track – you will not escape that sorry.

Does this mean .NET is dead? Who actually knows what .NET vNext will be so it is hard to simply say "yes" and it could very well be a reset of .NET to fix a lot of pent up frustration in the way it sticks together today.

What I am certain of is WPF is definitely officially done. The chance of WPF going beyond what it is today is slim. Some journalists etc. will gloss over this as its not news but let me be clear in saying at Microsoft we really had no clue just how deeply seeded this product became.

In Australia it’s used quite heavily and it’s something I personally noticed whenever I used to travel around the country meeting Microsoft customers (both as an Evangelist and Product Manager). I used to send emails internally stating "I think we underestimated is usage, as it definitely appears to have more devs using than Silverlight" which was later brushed aside as being "Not realistic".

I think post September the announcements that are to follow will give these warnings probably some second thoughts around what parking WPF in the retired bay is likely to mean for Microsoft when it comes to the words "trust" and "commitment"

The product and developer satisfaction surveys for the last few years haven’t been something you’d brag about internally which for me indicates a strong sense of "fatigue" within the ranks of our beloved .NET developer communities.

It’s now one thing to announce what the next version of .NET will be its entirely different thing to convince and sell these fatigue customers that this is defiantly the bet this time. Silverlight, WPF and WinForm are available today and millions are shipping software solutions using them.

Microsoft now has to figure out a way to convince the millions that the "Windows 8" wave of vNext will fix all of these problems and more – and – will not require a reduction in feature parity along with extra boost in tooling.

If I know, my Microsoft and I like to think I do, good luck J

Full email below:

From: Julie Larson-Green
Sent: Monday, June 20, 2011 9:35 AM
To: Grant George; Jon DeVaan; Julie Larson-Green; John
Cable; Yves Neyrand; Craig Fleischman; Bambo C. Sofola; Scott Herrboldt; Greg
Chapman; Julie Bennett; Jeff Johnson; Ales Holecek; Mohammed El-Gammal; Chuck
Chan; Michael Fortin; Eric Traut; Jensen Harris; Linda Averett; Alex Simons
(WINDOWS); Gabriel Aul; Dennis Flanagan; Iain McDonald; Samuel Moreau; Dean Hachamovitch;
Michael Angiulo; Antoine Leblond; Tami Reller; Chris Jones (WINDOWS LIVE);
Jonathan Wiedemann; Ulrike Irmler; Adrianna Burrows
Cc: XAML Team; Kevin Gallo; S. Somasegar; Terry Myerson;
Sharman Mailloux Sosa; Brad Fringer; Steven Sinofsky
Subject: Please welcome the XAML platform team to
Windows!

We're pleased to announce the transition of the XAML
platform team from the Developer Division to the Windows team.  While the
team has been working side-by-side with the Windows team for the entire project,
this step brings them into our team formally.  

The team will continue their work on Windows 8 as planned
and will join our Developer Experience (DEVX) team. This transition allows us
to bring together our platform development team in a single-management
structure.
The dev, test, and pm leaders who will be leading the
team reporting to AlesH, YvesN, and LindaAv are:

• Sujal Parikh, Development Manager
• Eduardo Leal-Tostado, Test Manager
• Joe Stegman, Group Program Manager
The leads and individuals joining our team are receiving
this mail and have received communication on next steps.

These changes in leadership and organization are
effective today.  For the purposes of finishing out the fiscal year and
the performance review process the team will operate under the existing
management structure.

There will be an informal Q&A session today to
welcome everyone and answer any questions that folks might have.
• XAML team welcome – 2:00-3:00 in building 37/1701

Please join me in welcoming these folks to our
organization!
Julie

From: S. Somasegar
Sent: Monday, June 20, 2011 9:16 AM
To: Client and Mobile Team
Cc: Developer Division FTE; Steven Sinofsky; Julie
Larson-Green; Terry Myerson; David Treadwell
Subject: Bringing together client platform efforts

MICROSOFT CONFIDENTIAL

Over the last couple of years, our Client and Mobile team
has done a fantastic job of building a number of XAML related technologies that
have been a huge value add to the Microsoft client platforms and an
instrumental part of delighting our developer customers.  The agility and
customer focus that the team has demonstrated over the years has been a
pleasure to watch.  

Today, we are making some organization changes to bring
our platform technologies under a single management structure.  These
changes are centered around three focus areas:
• The team working on XAML technologies for Windows will
move to Windows.
• The team working on XAML technologies for Windows
Phone, Xbox and browser plugin will move to Windows Phone.
• The Client and Mobile tools teams, including Windows
Phone tools and XAML tools, will stay in DevDiv. 

These changes are all effective immediately.  From a
performance review perspective, we will do this year’s performance review under
the DevDiv organization model.

I want to thank Kevin Gallo and the team for all the
great work that they have done over the years.  Moving forward, I'm very
excited to bring the client platform efforts closer to the platform
teams.  There is a lot of very exciting and critical work underway as part
of our next wave of platform releases and I am very eagerly looking forward to
seeing the team’s work in the hands of our developers and customers.  

The follow-up emails will provide more details on the
changes to those impacted.  Please join me in wishing Kevin and the team
all the very best as we move forward.  If you have any questions about
this change, please let your manager or me know.

-somasegar

Related Posts:

UXCAST–Making Isometric Workflows inside Expression Blend–Part 1

Heroimage

I did it! and I feel exposed. I sat down tonight and put together my first of what may or may not be many (depending on how badly I get crit) screencasts around UI / UX + Microsoft Technology.

In this video, I show folks how one can take a workflow design concept and inject it into your canvas of choice but in an Isometric format. I like Isometrics simply because you can get more of a spatial view than most screen angles that and it derives from my old Pixel-art days so..yeah..Isometrics are the way!

Hope you enjoy, and feedback welcomed.

 

 

RIGANEIC – UXCAST – Isometrics in Expression Blend from Scott Barnes on Vimeo.

In this screencast I show how one can take a Isometric workflow map and transpose it into Expression Blend 4.

Related Posts:

Going full Metro.

I uploaded one single Metro inspired design that I once did for Microsoft India/Asia and the next thing I know I’m being asked to do more for other clients. I shouldn’t complain, money is money and I’m the type of guy who will unzip if the price is right – there’s a lasting image.

image

It seems that when you show someone large monochrome simple shaped designs, folks often gravitate towards them over some of my other usual gradient filled drop shadow filled designs. At first, I am shocked if not appalled at how they could dismiss one design which takes me much longer for a design that essentially looks like a colored in Wireframe mockup.

Metro simply put feels like I am shoplifting design. It’s not a lot of work and the main focus I have is controlling myself from adding too many elements to the screen or keeping the typography unbalanced. Color selection is also important as you have to keep that tightly controlled otherwise it ends up being a rainbow pixel barfing.

Metro is Developer art friendly.

One such client I have at the moment has expressed an interest in getting me to come in – as per usual – at the tail end of a sprint season of coding and well make it look “pretty”. They have also asked if I could weaponise the approach so that other teams within the company could leverage the same work within their projects.

image

What to do.. I need to make my design(s) for WPF/Silverlight engaging, useable and lastly repeatable. Metro like a super hero from the 1950’s, makes its way to the top of the conscious thought pile. Turns out those crazy beige loving engineering culture filled geeks in Redmond may actually be onto something here. Metro’s secret is that it creates a way in which designers and developers can finally reach a compromise on design.

Using large blocky shapes and minimalist approach to screen while peppering large amounts of typography whilst also not saying the words “Wireframes colored in” – boom, you have a design revolution within the .NET community its name – METRO.

Metro isn’t all monochrome rainbows and puppies…

There is a catch though with Metro, one that as a designer is starting to ride my last nerve. They all look the freaking same. I can’t help it, I get into a pattern and before I know it I’m knocking out a mutated design that I did 5x metro designs ago. I feel like I am cheating now, it feels bad that I am in what I call a design rutt and It’s hard to break out of given most inspirational sites like TheFWA.com have no metro goodness.

image

There are only so many times I can look at the Microsoft Health / Futures videos before I also end up copying their designs without realizing it. I simply crave others like me who are injecting large enough doses of Metro to stop a gradient filled elephant in its tracks. I need to get off this crack or I’ll end up living in a typecast world filled with basic shapes and colors.

Metro’s concept isn’t isolated to Microsoft.

I am also starting to see the world in glyphs, typography and bold colors. I pass a highway sign and I go “ooh, that color could be used in a design of mi…stop it!…stop..”. I pass elevator filled corridors and I can’t but help notice Helvetica is the weapon of choice most of the time in commercial metro filled buildings. I’m going full metro!

Metro is the future of glass.

This morning, watching my usual twitter feeds I come across a re-tweet from one of my design demi-god like heroes – Mark Coleran. In this link filled with the future(s) nectar I so willingly crave, is a video projecting what the world would be like if we had more glass and multi-touch screens. At first I am absorbing this eye candy like a fantasy user interface addict that I am – only, boom..there it is, metro.

I’m Scott Barnes, and I am now addicted to metro. If you or a family member are suffering from Metro affixation, please contact me together we can find a way out of this disease / addiction.

If you want to see more of my designs, you can do so here:

Related Posts:

The rise and fall of Microsoft’s UX platform – Part 3

image

It looks bad, I mean it really just looks bad. The President of Server & Tools in PDC just came out and pretty much implied that the race between HTML5 vs. Silverlight internally is over. The winner by way of Presidential nominee is HTML5.

It’s easy to assume that maybe Mary Jo got it wrong, that maybe she took some journalistic spin to the overall story and tricked BobMu into saying things he didn’t want to (it’s what Journalists tend to do sometimes). Think again, Mary Jo doesn’t play that game and its exactly why she gets these types of interviews in Microsoft, so why start now?

It’s also easy to assume that maybe BobMu is just some empty jar head executive who says a few buzz words here and there? someone who typically isn’t informed of the inner workings of one out of many products that fall within his portfolio? sorry, that’s not true either. Each quarter when I was in the team, we’d have what we call "RTB’s" – Reviews of the Business. It’s that point in time where the team would put together a PowerPoint deck that covered everything from roadmaps through to metrics associated with the said product. BobMu was not only informed, he’d make decisions that we’d all react to post such meeting. He was informed and unless he was heavily medicated, he meant what he said.

What’s the story then?

It’s not like I didn’t warn all about this turn of events a few weeks ago, (read part one of this post). The story isn’t whether Silverlight is or isn’t dead. I don’t think Microsoft could even kill off Silverlight to make way for HTML5 just yet (HTML5 is simply still a science project in the market). I think what we are really seeing is a company as large as Microsoft in chaos.

You’ve got a President doing PR 101 mistakes, You’ve got a marketing team that double down on a single product instead of their entire UX Platform portfolio, you’ve got the Internet Explorer team writing their own messaging that confuses the masses against existing messaging. You’ve got an IE9 demo at PDC that smells, tastes and looks like a previous one in MIX07 only without the word Silverlight in it? You’ve got Silverlight not making an appearance at PDC which isn’t a bad thing given MIX is really the party for Silverlight, but given market conditions – YOU SHOW UP.

Bottom line is this, the entire Server & Tools business within Microsoft is in dire need of marketing reform. The strategy coming out of Redmond is chaotic at best, the design and develop discussion has obviously changed within the belly of the beast. The problem is, they’ve kind of forgotten to inform the masses of this and we’re only just starting to see glimpses of the inner truth now – and its frightening the kids especially when its Halloween time!

I did want to dedicate this post to how Microsoft has shut down the entire "designer engagement" strategy across all divisions, but clearly this is simply a symptom of what we’re now seeing unfold online.

Microsoft is by all outward appearance shutting down its vision of the circa 2007 UX Platform, it’s now winding it back to secondary citizen in favor of the new shiny object, HTML5?

I for one reject our new HTML5 overlords.

The problem with moving Silverlight & WPF back to the end of the visibility line, is that nobody really has sat down and asked existing rich client developers what they think of this new vision? it’s a forced entry into the market mixed with a whole bunch of messaging from the Internet Explorer team that’s labeled "Trust us, we have this covered" seal of quality assurance.

The one team in which has breed so much distrust in Microsoft. It’s probably the biggest cancer within Microsoft and is the main reason why the Consent Decree exists.

The cold hard reality is that most developers actually probably don’t want to go back to Circa 2005 development with extras (i.e. JavaScript and HTML suck). The entire HTML5 strategy is basically a mess on its own as you’ve got Browser catch-up’s that still need to be done.

You’ve got issues around browser owners looking into ways of forking the HTML5 concept to suite their own agendas? You’ve got tooling coming out slowly and half baked? You’ve got a mixed reaction of what HTML5 actually means? You’ve got anxiety over whether or not JavaScript and HTML can scale? you’ve got millions of devices today that just can’t load HTML5? You’ve got at least a 2-5 year latency effect world wide of enterprise even considering HTML5 in its current form … the list just goes on.

It’s one thing to get onto a soap box and declare a true x-platform strategy like HTML5 the future? it’s one thing to say "open standards or bust" as being the mission statement of the world’s future software ecosystem.

Someone just point out where the strategy exists for moving people both willingly and unwillingly across the desktop/plug-in divide over to this new world, because if Microsoft is running this show, we’re all basically f#$%ked – I say this as right now, they couldn’t organize a virgin in a brothel to get laid (as they would be too busy fighting over which girl was the prettiest).

Silverlight vs WPF vs HTML5?

Pete Brown last week released a blog post around the future of WPF which talked about successes and hints at the future of the platform. Pete did something extremely hard in making this post come together, he went internally and asked a simple question "Where is this bus heading?" and that’s just before PDC2010 as well – big hat goes off to Pete for pulling this together, as many have tried and failed that little mission.

It’s still not enough though! – now before you grab your pitchforks and declare me a jaded hateful ex-WPF/Silverlight team member, hear me out.

The reason I say it’s not enough is that we just heard 200+ engineers are working on Silverlight/WPF and looking at the new additions to WPF, i can’t but help wonder how thinly the team are spread. There is a lot of surface area to cover inside WPF, the biggest of which is around performance and getting line of business grade features onto the table. The WPF team are reacting to the data they have and unless there is radical changes since October last year in the way they get this data, it’s still a ways off (the product usage data etc inside Microsoft is simply disconnected and a mess, features are skewed between what looks fun vs politics etc).

It’s not enough, there needs to be a consolidated marketing strategy around the product(s), there needs to be an Evangelism rhythm that maps out how this drum beat gets played out worldwide, i.e. its one thing to announce how you intend to build something – its entirely another to actually get that message to every developer you possibly can.

It also needs to connect back to Silverlight. It needs to fit in with how developers can navigate the ye olde "It Depends" response from Microsoft. The guidance Pete used was old, I know as it was something we crafted back in July last year – "Use Silverlight until you hit a wall, then go WPF" was pretty much the summary we came up with (even then I remember thinking, that’s just bullshit but what else can we say? WPF is dead? :D )

WPF also needs to connect back into HTML5? so how does the new IE9 overlords and WPF play in the same sandpit together? at what point do you separate the two? Windows 8 team have ideas on this, but I’m pretty much betting that the HTML5 story will get more air play in that pool of brilliance.

Summary.

image

Lots has been said in the past month, bottom line is this. The technology is currently a big software buffet, we have loads of options and different portions on the table to pick from. We need informative views more so than ever now, given the emerging mobility vs. desktop discussion and more importantly how all these pieces fit together.

Microsoft lacks the marketing muscle right now to answer these questions, they simply just don’t have the maturity needed to lead this vision forward. You’ve got pretty much majority of the executive branch abandoning ship and the competitors they used to just sweep the legs out from under are basically starting to get their act together.

Adobe for one has its act together finally, I’ve watched this company for years fumble around in the dark around this entire discussion. At MAX 2010, they not only connected it together but they did so in a way that is slow, simple and has the appearance of saturation + ubiquity.

Microsoft’s shows up and starts waving its hands in the air about Internet Explorer 9, Azure and how Silverlight is now winding down – not to mention zero WPF discussion (except for Rob Relyea – owner of WPF Team – picking up the Developer Platform & Evangelism divisions dropped ball and doing a PDC session on WPF).

Bob Muglia needs to really take a hard look at his organization tree and start putting together a plan of reform. This isn’t a technology problem anymore, it’s a marketing one pure and simple.

As for Silverlight Marketing Team getting ahead of the PDC2010 fall out? – “Out of Office” summarizes it all.

Related Posts:

How to hack Expression Blend

I’m the kind of guy who likes to tinker where i shouldn’t and tonight I just couldn’t help myself and decided to see how far I could go in terms of hijacking the UI in Expression Blend.

The reason that sparked this quest was that I wanted to write my own special custom UI Panel for Blend that reflects a Skinning framework I’ve been working on. I was more specifically focused on how to hide Category panels that are basically not required, in that “Skin X Panel” is all I wanted developers to access for my given control (which in turn has all the relevant turnkey properties that they should tweak).

I managed to do this like any “Design-Time” solution can, by basically invoking BrowsableAttribute.No in the MetaDataStore.cs (Justin Angel has a brilliant write-up here on how to setup your own at – design time Expression Blend extensibility) which was working, except I noticed PropertyGrids like “Font” and “Grid” wouldn’t hide (Given they are DependencyProperties and are hard-coded into Blend).

image

Given this was annoying me, I decided to see if there was maybe a way for me to hijack blend via the internal VisualTree in order to react to a control type selection and then switch Category Panels on/off depending on the type that’s being accessed.

Armed with this mission, I proceeded to get a few much needed tools for my upcoming journey.

Ingredients.

First: Snoop.
Peter Blois was a guy I used to always enjoy having coffee with as not only is he one of the Program Managers in Expression Blend team, but he often writes very cool small tools that just basically make your life easier should you wish to run up against the grain. Peter’s written a small open source app which attaches itself to an instance of Blend that you have open and then proceeds to walk the VisualTree within your current view.

Get Snoop

Second: 2x Instances Visual Studio open.
Obviously the first one is to allow you to access your code base (duh) the second is for debugging Expression Blend, so make sure you attach the second VS instance to debug Expression Blend that you’re about to Snoop (i.e. Attach to Process tutorial here)

Third: VisualTreeWalker
Jim Baltzell-Gauthier has written a class that basically takes FrameworkElement.FindName() and injects some steroids into place. This is important as you’ll need this to hunt specific nodes within Expression Blend’s internal VisualTree.

Basic Hack.

Armed with that, the first thing you’ll want to do is create a Construct in your MetaDataStore.cs (in your Expression Blend.DesignTime project). In this you’ll need to access the following branch to get yourself started.


Application.Current.MainWindow

This is pretty much like in Silverlight at runtime, your “root” starting point, from here you’ve pretty much got access to the XAML DOM much like you would in WPF today. To prove my point, try this:



Application.Current.MainWindow.Title = "RIAGENIC.COM is My Daddy";

I can haz your snoop Blend

Now you have probably some basic skills around how you can hack Expression Blend. The next step is to really screw around in the kitchen, in that let’s break something.

Let’s for example, hide the Panel which shows you what your control’s “Name” property is (ie see below).

image

To do this, open up Snoop and attach it to your Expression Blend. Then type into Snoop “InfoBar” into your Tree Filter textbox (first one above the actual tree). This should narrow your selection down to the following:

image

Now if you move your mouse over inside Snoop over the actual “InfoBar” node, you’ll see a preview of that control (ie snapshot of it). This is the one we want to mess with.

Next, inside your MetaDataStore.cs type in the following:



Border o = VisualTreeWalker.FindName("InfoBar", Application.Current.MainWindow) as Border; 

                if (o != null)
                    o.Visibility = Visibility.Visible;

Now, inside Expression Blend, “Rebuild the Project” and watch the Name Panel disappear.

Pretty cool huh?

The more you “Snoop” around inside the VisualTree the more you can start to see possibilities here on how you can really do some hardcore damage to the beloved Expression Blend. As with anything, with great power comes great responsibility, so do be careful and do understand that anything you touch via this route WILL NOT be supported by Microsoft (use at your own risk – if you could also potentially use this concept to inject time-bombed trial watermarks etc on developers using your 3rd party controls etc).

Where to from here?

I’m going to keep tweaking around with this, but basically I want to attach an event to the selection of a said control and then sniff the type. If the end user accesses my controls that I’ve made, I then want to do something unique and fun to provide a specific UI Panel for them to make use of.

Its, again, Unsupported but from what I’ve seen over the years this backdoor in hasn’t changed all that much as the hardest part to get to this point was creating a “Design-Time” project that worked for both WPF and Silverlight (Inside Expression Blend 4, this is fixed).

Have fun.

Related Posts:

  • No Related Posts