Tag | WPF Posts

Before I move on to other topics...I wanted to do one last post on STLDODN 2008. Now for some random event thoughts: The event was held this last weekend and it was one of the longest weekends of my year. As an organizer I spent last week stressing over many of the final details and anxiously awaiting final shipments of swag. I also spent a significant amount of time with my assistant* packing take-home bags. At one point I even paid each of my three girls $10/apiece to help stuff pens into bags ...
This code example will show how to hide a listbox from the user when it doesn’t have any items. It involves binding the Visibility of the listbox to the Items.Count of the listbox. We run the Items.Count through a converter that will return a Visibility.Visible object if the Item.Count is not zero. Here is the converter class: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Windows; namespace HideAListBox { public class ...
In this issue: Pete Brown, Tim Greenfield, Boyan Nikolov, Jesse Liberty, Mike Ormond, David Justice, Tim Heuer, Chris Szurgot, Matthias Shapiro, Budi Kurniawan, Mike Snow, Martin Grayson, and Azret Botash Busy folks... I've still got a backlog and I was only slow a couple days :) From SilverlightCream.com: Pie Chart Styling in the Silverlight Toolkit - Cross-Slice Gradients Pete Brown gives us the benefit of his excursions in the chart control plus his conversation with team members, and he ends ...

Today is the end of my very first week at IdentityMine. Let me just say that it was really great. In the same week I worked on a proposal for a client (maybe our very first project in the new European IdentityMine, crossing fingers) and prepared a presentation for next week.

Read the rest of this entry »

In this issue: Alex Golesh, Bart Czernicki, Matthias Shapiro(3), Michael WOlf, Swiss MSDN Team Blog, Michael S. Scherotter, Jesse Liberty, Chris Carper, Bill Reiss, Jonathan van de Veen, and Jobi. Shoutout: Adam Kinney reports that Project Rosetta turns into a MIX09 workshop From SilverlightCream.com: Silverlight Tip: How to Inject and Execute JavaScript Function(s) on-the-fly from Silverlight Alex Golesh has a post up on injecting JavaScript Functions from Silverlight. He has a nice text-entry front ...
In this issue: Jobi, Russell Greenspan(5), Mike Ormond, Tim Heuer, Matthias Shapiro(2), Terence Tsang, Gerard Leblanc, Azret Botash, Jesse Liberty, and Jonathan van de Veen. From SilverlightCream.com: Interactive Silverlight Greeting Card Jobi posted this one to me and I forgot it the last time... sorry Jobi, because it's the first Silverlight Christmas Card of the season (AFAIK), and it is very cool... also check out the header on his blog :)... nice work, Jobi.... oh, and he gives up the source ...
*Moved to: Live FrameworkI have been getting very interested in the new Azure Services Platform and how I can use it to facilitate WPF development. Read more...Follow my new blog on http://blog.hinshelwood.com ...
Though some of you that were on the fence or have not year head about the MSDN Dev Con, are now more interested in coming out. It’s a tiny price compared to PDC and is coming to a city near you! A good group of local celebrities will be presenting along side proven Microsoft experts at the Orlando event. I will be in the attendance and around any community areas. And any social after event :) Bayer White (Jacksonville), Joe Homnick (Boca Raton), Christopher Bennage (Tallahassee), Rob Eisenberg (Tallahassee) ...
Chris Anderson, Tim Heuer, Michael S. Scherotter, and Jonathan van de Veen. Shoutout: If you don't read Scott Guthrie's blog, shame on you :) ... he posted his latest aggregation today: Dec 2nd Links: ASP.NET, ASP.NET Dynamic Data, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight/WPF . From SilverlightCream.com: Building a Silverlight Line-Of-Business Application – Part 4 Chris Anderson over at SilverlightShow put up the fourth part of his LOB series ... definitely a keeper. Silverlight install ...
Just wanted to write a bit about the upcoming Day of .NET conference coming soon to St. Louis. We are putting the final pieces together this week and currently have nearly 200 people registered. The conference will be on December 13th, 2008 and, if you want more information or just want to register, please check out the site at www.StLouisDayOfDotNet.com. If you are waiting to register, please be aware that our registration closes on Monday, December 8th and we cannot accept on-site registrations. ...
As I mentioned back in this post, the initial phase of work needed to allow Sotue to recognize data in input streams is to build a state machine that input characters can move through as they are read. If the state machine ends up in what is called an accepting state, then the input characters match a pattern. To review, Sotue’s process for building these state machines are as follows: Construct a non-deterministic finite automaton (NFA) from a regular expression. Convert the NFA into a deterministic ...
In this issue: Timmy Kokke, Martin Mihaylov(2), CASON Engineering Plc., Bryant Likes(2), and Stefan Olson. Since I had seven submittals, I decided to do them first today and post my web-scrapings later :) From SilverlightCream.com: Silverlight Without XAML I'm not sure Timmy Kokke has a blog... if he does, send it to me, I'd like to track this. He has ripped page.xaml and app.xaml out of the project and is building his app in code behind ... interesting. My OutlookBar is pretty close to that... all ...
In this issue: Jonathan van de Veen, Bart Czernicki, Tim Greenfield, Ben Waggoner, Ning Zhang, Jesse Liberty, Jonas Follesø, Jafar Husain, Expression Team Blog, Adam Kinney, and Gerard Leblanc. Also: Jose R. Guay Paz reports Enter the Manning Free Ebook a Day giveaway... free is a definite good deal! Jeff Weber details that the Popfly Game Creator Updating to Silverlight 2. If you want to see what can be done with Popfly, check out the MSDN team blog roll on my blog page. Matthias Shapiro has updated ...
Last Monday night I gave a presentation at the local St. Louis .NET user group (www.stlnet.org). My presentation was on some of the new extensibility infrastructures available in .NET. More specifically, I talked about IoC/DI containers, the Managed Extensibility Framework (MEF), and CLR Add-Ins via the System.AddIn infrastructure. While these user group presentations usually range from 10,000 foot marketing overviews of products all the way down to "in the weeds" developer discussions, I intentionally ...
Both Snoop (WPF) and Silverlight Spy (Silverlight, obviously) allow you to connect to running processes and see what's going on inside them. Very powerful tools. With Silverlight Spy, you can see the contents of any Silverlight app... and reflect against them. The temptation with Silverlight is to put more code in the stateful .NET client, but the consequence is that your code is essentially available to the world. This also applies to any keys, passwords, etc that may be stored within your code. ...
Some quick notes about one architectural pattern for WPF apps -- this is a modified version of MVC/MVP. The Model bottom layer of the pattern no knowledge of the View (UI) variables should be named in UI-agnostic terms ("available" vs "visible") .NET class The View WPF/Silverlight representation of the UI should have minimal code connects to the ViewModel through the DataContext property should be editable in either Blend or Visual Studio XAML file The ViewModel represents the "glue" between the ...
Drew is my amazing nephew, and is the inspiration for this amazing project. Please take a look and let me know if you want to contribute in any way! iPhone development, Mac, xcode, WPF ...
Event Date: Saturday, January 19, 2009 Event Time: 08:30 (registration), 09:00 – 17:00 Event Location: Microsoft Tampa Office If you want to learn what TDD is all about, this is the event to attend. It’s a day-long event where you will go from start to finish with a sample domain problem and learn how to write tests to drive functionality of the system. This promises to be an excellent event and will be good for both beginners and those experienced with TDD. There will be two tracks running simultaneously, ...
I noticed while working with Attached Properties and Dependency Properties that the code snippet is wrong. It keeps on trying using the UIPropertyMetadata. My guess is that this is an older version of the Register methods. So, here is a link (to my skydrive) that you can download and update your code snippets: cid-af5c4f2a863b6b78.skydri... Just download the two snippets and place them in your "%Program Files%\Microsoft Visual Studio ...
My good friend Martín Uresti sent to me a newer and more detailed version of the Mexico Map in XAML so we can use it in Entrenamiento intensivo de Silverlight en Español / WPF applications! At a first glance it looks amazingly detailed and more beautiful than the first one. Thank you Martín for your cooperation with the Entrenamiento intensivo de Silverlight en Español community! Just as in the first version each state is surrounded by a <Canvas> element so we can develop against each state ...
In this issue: Joseph Ghassan, Jeff Wilcox, Peter McGrattan, Kathy Kam, and Lee. From SilverlightCream.com: Silverlight 2 User Controls Communication Joseph Ghassan has a very complete tutorial up on communication between user controls. Managed Html Controls source code Jeff Wilcox reports that the managed wrapper used for client-side HTML controls used in the Unit Test Framework were actually delivered with the Silverlight Unit Test framework's source! Silverlight 2 WCF Polling Duplex Support - ...
Here's the complete list of sessions from PDC and my personal favorites. You can find all the recordings of these sessions at www.microsoftpdc.com. Here's my personal favorites: Windows Azure (Hosted ASP, Workflow, Silverlight, RAW / Azure Storage) A Lap Around Windows Azure (ES16) - 0:46 Slides | WMV-HQ | WMV | Zune A Lap Around the Azure Services Platform (BB01) - 1:12 Slides | WMV-HQ | WMV | Zune Live and Mesh (Sync, Feeds, Resources, Contacts, etc.) A Lap around the Live Framework and Mesh Services ...
In this issue: Bart Czernicki, Martin Mihaylov, Katrien De Graeve, Silverlight SDK, Arturo Toledo, crocusgirl, John Papa, Andy Beaulieu, Jeff Wilcox, Justin Angel, Corey Schuman, and Jesse Liberty. Wow -- I did NOT miss yesterday and I have 12 solid links for today... everyone's been *really* busy :) Also: David Anson reports an update to his LayoutTransformControl: An unexceptional layout improvement [Two LayoutTransformControl fixes for Silverlight 2!], and you can now set both ScaleX and ScaleY ...
*Moved to: Advice on using XamRibbon with Composite WPF If, like me, you are interested in using all the new fangled controls produced by every man and his dog, you will probably have come across the Infragistics WPF control. My mission, that I stupidly accepted, was to update the TFS Sticky Buddy application with their XamRibbon and XamDockManager controls, and anything else I can stuff in there.Read more...Follow my new blog on http://blog.hinshelwood.com ...
I probably would not have posted this if the problem only existed on my XP workstation, but when I had the same problem yesterday on my Vista laptop and had to dig the same post up again to find out the solution, I decided I needed to mention it. After the Silverlight Toolkit was released, there was a post about adding the tools to the Toolbox. I re-blogged it in case anyone needed it, but I figured I didn't ... I mean I've been around Visual Studio since it was "Visual C++" Beta, so what's the big ...
Just before I add lots of files and folders to my PDC attendee's freebie 160GB USB disk I thought I'd list out the contents as sort of like an audit. PDC 2008 160GB USB Disk file directory listing Autorun.inf starthere.cmd StartHere.html Developer\BluePrints\Inside... Developer\BluePrints\Introd... Developer\dotNetFramework\d... Developer\dotNetFramework\d... Developer\dotNetFramework\d... Developer\dotNetFramework\d... ...
One project was put forth that essentially requires creating a MessageBox look-alike, but the text supports rich-format, and we can do it in WPF. It's a pretty neat task, and in this post I'll focus on just the text side; the easiest way possible most probably is to just use a RichTextBox control, make it to have no border, and everything will be fine. However, I'd like to do it efficiently as well. FormattedText can be used; however it's hard to make it generic - essentially code has to be written ...
Topic: Migrating a Data Aware WPF Application to Silverlight 2.0 Presenter: Mike Benkovich, Microsoft Date: 11/18/2008 Time: 12pm - 2 pm Website: http://www.ilmservice.com/s... Abstract: One of the great things about WPF and Silverlight is that they’re both built on top of XAML and with Silverlight 2.0 you can leverage the latest data manipulation capabilities of LINQ. In this session we’ll take a look at a basic WPF application that pulls data from a web service. We will explore VB.NET’s ...
Apparently it's podcast season... When in Los Angeles, Jon Galloway and I managed to sit down an hour and talk about Silverlight, WPF, Blend, my past work at Siemens and my future work at IdentityMine, and of course about my book Silverlight 2 Unleashed. I was kind of sad that Kevin Dente and Scott Koon didn't manage to join us, but the conference was so packed with events that we found time only on the very last day (Thursday) and the two had to go back home already. Still, it was nice to meet the ...
In this issue: Boyan Nikolov, Ning Zhang, Jeff Paries, Chris Hay, Jeff Handley, and Mike Snow. Terence Tsang has announed a new site that has nothing to do with Silverlight but looks pretty cool: Pencake Ecard (Facebook Application). Cameron Albert has announced Some New Perenthia Screen Shots. From SilverlightCream.com: Calculator for Silverlight Boyan Nikolov has a Silverlight calculator that's built as a custom control... howcool is that? Expander Control in Silverlight Toolkit Ning Zhang's blog ...
AT ONE TIME the Horse had the plain entirely to himself. Then a Stag intruded into his domain and shared his pasture. The Horse, desiring to revenge himself on the stranger, asked a man if he were willing to help him in punishing the Stag. The man replied that if the Horse would receive a bit in his mouth and agree to carry him, he would contrive effective weapons against the Stag. The Horse consented and allowed the man to mount him. From that hour he found that instead of obtaining revenge on the ...
2500 years ago, a man named Aesop gathered the accumulated software development knowledge of the ancient Greeks, and presented the knowledge to history. However, since so few people in the intervening millennia knew anything about software, they misinterpreted Aesop's lessons as simple morality fables, rather than as hard advice for software managers. Now you can learn what Aesop had to teach us about software development processes and management. The pioneering programmer known as Aesop is still ...
I’ve just published a couple of webcasts looking at Workflow Foundation 4.0. WF 4.0 Sequential Workflow Designer This webcast takes a look at the new designer in WF 4.0 and features simple workflows to input and output data. It also focuses on the new DbUpdate activity and shows how it can be used to insert data to a SQL database (modelled in “M” of course :-) from a workflow. Building Custom Activities in WF 4.0 This webcasts focuses on developing custom activities for WF 4.0 and also at using the ...
In this issue: Ivan Dragoev, Beatriz Stollnitz, Laurent Duveau, Matthew Casperson, Mike Ormond, Adam Kinney, Scott Guthrie, and Ruurd Boeke. I saw this post by Jeff Wilcox: Toolkit posts: "Silverlight in Style," dependency properties in WPF and Silverlight, and TreeView expansion, and thought "cool -- I've got all that covered :)" ... but WAIT... check this out... all the Toolkit bloggers have their own blog now! I'll be watching this for you, but go ahead and keep an eye on it too in case I miss ...
In this issue: Silverlight Girl, Mehdi Slaoui Andaloussi, David Anson, Cheryl, Justin Angel, Kathy Kam, Shawn Burke, and Jafar Husain. John Papa hada Teaser Chapter up for his book the other day and I forgot to mention it, so here it is: Free Teaser Chapter for Data Driven Services with Silverlight 2. From SilverlightCream.com: Silverlight Loader Animation Silverlight Girl discusses her loader animation created in Blend, then turns around before I got that posted and gives up Source code for the ...
*Moved to: Composite WPF and Merged DictionariesIf, like me, you like to have changeable resource files in your application. Wither it is for changing the Theme, or interchanging templates you will need to take special care when using the libraries.Read more...Follow my new blog on http://blog.hinshelwood.com ...
In this issue: Matthew Casperson, Mehdi Slaoui Andaloussi, Tim Heuer, Dan Wahlin, Dave Britton, Jordan Knight, Gerard Leblanc, Azret Botash, and Lee. From SilverlightCream.com: Silverlight Game Programming Tutorial - Input and Adding Game Elements Matthew Casperson had two more posts earlier, but I wanted to get the 'Cream post out and was heavy already so I saved Parts 2 and 3. This one is on creating the objects and getting them moving around then Part 3 is Silverlight Game Programming Tutorial ...
I’ve been digging through the CTP for VS2010, and I have to say that if you haven’t started trying it out, start. Keep in mind, the CTP will hog as much as 40 gigs of space (between the twelve 700 meg parts and the final 25 gig Virtual PC image), but getting to play around with the new features is great. Maybe you’re telling yourself, “I’m not advanced enough to know what to play around with to enjoy the new stuff…” There are walkthroughs. If you use Visual Studio on any semblance of a regular basis, ...
In this issue: Ian Griffiths, Matthew Casperson, Chris Anderson, IDV Solutions, Nikhil Kothari, Dave Burke, Anna Wrochna, Chris Hay, Jesse Liberty, and Robby Ingebretsen. David Anson has collected all the Charting blog links on one page... a good reference: My new home page [A collection of great Silverlight Charting resources!]. Jaime Rodriguez reports that the NY Times has a free version of it's WPF reader: NY Times ReaDER Free Edition.. ... now I just need to be someplace I can run WPF :) From ...
Using colors is a simple way make your application less boring. You can change the color of the selected and unselected item in a ListBox by using code like this: <Style TargetType="ListBoxItem"> <Style.Resources> <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrush... Color="LightGreen"/> <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="LightBlue"/> </Style.Resources> </Style> This style can be put in the resources of the ListBox ...
Switching MVP tracks form “BizTalk Server” to “Connected Systems” doesn’t mean I will stop working with BizTalk. BizTalk Server is still my favourite server product by a long way and, apart from the messaging and orchestration engines, my favourite feature is BAM. Last week I taught the QuickLean “BizTalk Expert Series BAM” course for the first time in Stockholm, it was actually the first delivery ever. As usual, I have taken a couple of the demos that I run in the class, and recorded them as webcasts, ...
For those of you like me who missed PDC (though I did watch the streaming video as time permitted!) you can now catch some of the PDC content live at an event near you with MSDN Developer Conference. I'm going to try to head to the Atlanta one on December 16th. More details below as seen in Brian's blog: The Speakers Chad Brooks Jeff W. Barnes Wally McClure Glen Gordon Mark Dunn Steve Porter Murray Gordon Todd Fine Jim Wooley Brian Hitney Keith Rome Todd Miranda Dave Scruggs Shawn Wildermuth Mickey ...
*Moved to: TFS Sticky Buddy 2.0 development started…Lets just say that it will be a while in development. I am trying to implement the Composite Application blocks for WPF from Microsoft in an attempt to make the application more modular. I will be updating and releasing under the v2.0 CTP version and I have uploaded the installation files. This is a ClickOnce application, so you will always have the latest version of the CTP. Read more...Follow my new blog on http://blog.hinshelwood.com ...
The Chippewa Valley .NET Users Group is holding their first Code Camp on Nov. 8th, 2008 in Eau Claire, WI. I’m one of the presenters, and I'll be talking about XNA. I think it's pretty neat how Doug Rhoten and Dan Krueger (the CVCC planning committee) are providing a Microsoft Technologies track and an Agnostic/Cross-over track. With that, there will be sessions covering topics such as Cloud Computing, Rails, XNA, AJAX-enabled Websites with Java and NetBeans, C++, Real World practices with WPF & ...
In this issue: Rich Griffin, Nikolay Raychev, David Anson, Manish Dalal, and Terence Tsang. I apologize for not posting this on Monday, but Scott Barnes is asking for everyone's assistance on a poll: Calling all Silverlight/WPF Developers & Designers. Then today Tim Heuer posted this: Hey Startups – get some BizSpark ... wow... if you're a startup, check that out! From SilverlightCream.com: Silverlight themes 101 - Resource Dictionary Visual Studio Item Template Rich Griffin posted an item template ...
** WARNING: You can not mount this via VESA out of the box like the announcements describe, a special part must be ordered ** Now that I have my warning out of the way, Michelle purchased a HP TouchSmart IQ816 for the house so we could hang it on the wall so we could easily interact with the machine to leave notes, add calendar events, review pictures, and watch Blue-ray movies. I have to coolest wife, I know… The machine arrived yesterday and man is it big. I would see why you would not want to ...
I’ve just finished my first version of my beloved Mexico map in XAML ! (I think this is the first Mexico map with detailed states in XAML ever!!! :P) for all developers and enthusiasts in Silverlight or WPF technologies that could need it in their current solutions. This map could be the startup for exciting and newer user interfaces to allow users to have a better experience when using our applications. Even for geography didactic or academic applications that need to display localized information ...
In this issue: Rich Griffin, Martin Mihaylov, Tim Heuer, Jafar Husain, Jeff Prosise, Mike Snow, Jeff Wilcox, Ben Waggoner, Jeff Paries, Jesse Liberty, and Jeff Putz. From SilverlightCream.com: Silverlight Themes 101 Rich Griffin sent me this post about Themes ... very nice tutorial... have it on my list of stuff to read closer ... thanks Rich! Using the DockPanel in Silverlight 2 Martin Mihaylov posted a tutorial in his style we've grown to expect on using the DockPanel... check this out! Using Encoder ...
Holy Smokes! A SilverLight post???!!! Yes - I've entered the SilverLight realms... so far so good - one app is nearly ready for release (internal only) and I have to say the experience has been pretty good. I've had a couple of issues - mainly down to the fact that I'm not sure about some things - Cross Domain Policies for example... but on the whole it's been ok... One of the things I did struggle with was the programatic setting of brushes, for example, say I wanted to set the Foreground property ...
*Moved to: TFS Sticky Buddy v2.0I will be working on some new features to the Sticky Buddy application. Improvements in the interface, along with a more modular structure and more diagram offering are in the mix. I have been working on some of the enhancements and their implementation in my other lesser known project TFS Heat ITSM… Read more...Follow my new blog on http://blog.hinshelwood.com ...