Tag | WPF Posts

In this Issue: Michael Washington, Sl.ayer, András Velvárt, Jag Reehal(-2-), Einar Ingebrigtsen, Robby Ingebretsen, Shawn Wildermuth, Pete Brown, Tim Heuer(-2-), Rob Eisenberg(-2-), Roger Peters, snoutholder, Wolf Schmidt, Kyle McClellan Shoutouts: Davide Zordan lists the Slides and Code from my Silverlight 4 – MEF webcast I have an Open Letter to (and deal for) Silverlight Bloggers discussing possible broken links at SilverlightCream.com From SilverlightCream.com: Basic Silverlight View Model Validation ...
This week, Scott Guthrie, Corporate Vice President at Microsoft’s Developer Division, announced, via blog post, the early Beta release of a new tool called WebMatrix. WebMatrix is a free developer tool that enables Web development geared toward what might I might call Markup-and-Script developers (more on that in a minute). And although WebMatrix draws upon technologies already, or soon to be, present in the fuller ASP.NET Web development platform and the Visual Studio integrated development environment ...
I recently needed to create a scrolling text in a WPF application. After I did some digging, I found it and thought that I would post here to share. I’ve added my own touches to it, so the original source has been modified. <TextBlock Grid.Row="2" FontSize="22" Name="txtScrolling"> <TextBlock.RenderTransfo... <TranslateTransform x:Name="translate" /> </TextBlock.RenderTransf... <TextBlock.Triggers> <EventTrigger RoutedEvent="FrameworkEleme... <BeginStoryboard> ...
In this Issue: Timmy Kokke, Damon Payne, Kirupa Chinnathambi, Giorgetti Alessandro, Dinesh Sodani, David Anson, Kunal Chowdhury, haruhiro isowa, Max Paulousky, Rénald Nollet, and Rob Tiffany. Shoutouts: Cigdem Patlak interviews Daron Yondem Part 1: Istanbul Yazgelistir Summit – Daron Yondem on Silverlight activities in MEA, Silverlight 4 and Windows Phone 7 Series Cigdem Patlak interviews Daron Yondem Part 2: Istanbul Yazgelistir Summit – Daron Yondem on upcoming Silverlight releases, the Silverlight ...
Yesterday, I published the source code of the MultiTouch Behavior for Windows Phone 7 on Codeplex (http://multitouch.codeplex... Meanwhile, Davide Zordan (the founder of this project) started to modify the Silverlight 4 version of the behavior to make it API compatible. Eventually, the goal is to share all the API signature, and as much code as possible. We would like to extend this to the WPF version as well, in order to have a consistent landscape of multitouch on all 3 platforms. Read the rest ...
From the www.devsforwendy.com: Wendy is a 30 year old software agilista from Long Island. She's a strong WPF developer and a firm believer in the agile method of development including pair programming and TDD. Wendy is wife and mother of a beautiful girl named Kaylee who will be 2 in August. In August of 2009 Wendy learned that she had a rare and agressive pediatric cancer called aveolar rhabdomyosarcoma. Her treatment consists of high dose chemotherapy and radiation. She has had to leave her job, ...
A few days ago I was reading up on some WCF technology called Peer Channel. It looked pretty cool so I decided to try it out. I was pretty shocked to find out how easy it was to build a chat messaging service using this this stuff. I was able to run a chat client on my computer, a chat client on my friends computer, and the WCF Chat service on a server. We were able to send messages back and forth to each other (all on the same network of course). It worked pretty fast without using a lot of resouces ...
Normal 0 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} ...
In this Issue: Damian Schenkelman, Phil Middlemiss, Jag Reehal, Senthil Kumar, Andrew Marshall, Chris Koenig, Jimmy, Lee, Pete Brown, Brian, Mike Taulty, and Jeremy Likness(-2-). From SilverlightCream.com: Prism Training Kit: Beta Version Available Damian Schenkelman announced the release of a Prism Training Kit he and Matias Bonaventura have put together. Read his description on the post, then go download the kit. Create a Custom Control - Inheriting from TextBox Phil Middlemiss has another great ...
In this Issue: Sl.ayer, Emiel Jongerius, Andrea Boschin, KunalChowdhury, Charles Petzold, Kathleen Dollard, Jag Reehal, Saschac, Versant, Karl Shifflett, and John Papa. Shoutouts: Michael S. Scherotter reported an update: Word to XAML Converter Updated for Word 2010, WPF4 and Silverlight 4 The Silverlight Team Blog announced Microsoft, NVIDIA and iStreamPlanet Stream NASCAR in 3D The Silverlight Team Blog also announced Silverlight and Wimbledon. Game, Set and Match SilverlightShow has announced ...
Lightning was one of several code names for a high performance, multi-language, managed execution system for COM+. It eventually became the .NET Common Language Runtime (CLR) which is now an integral part of the .NET Framework. Denali was the code name for the data-driven Web server technology that became Active Server Pages and shipped in Internet Information Server 3.0. Denali (the "High One") was the name the Athabascan people gave the massive peak crowning the Alaskan range, which American explorers ...
In this Issue: Ben Hodson, Marcel du Preez, Karl Shifflett(-2-), Rishi, Chris Koenig, Adam Kinney, Xianzhong Zhu, Jeremy Likness, and CrocusGirl. Shoutouts: Victor Gaudioso posted an inteview: Checkout my Interview with Bytes on MSDN (Microsoft) The Silverlight Web Services Team poses this question: How can we make WCF support in Silverlight better? ... read and give feedback in the comments. Timmy Kokke has announced the opening of a new XAML resource site to bookmark: XamlResource.com Chris Bowen ...
Here I am trying to provide step wise approach of implementing validations using IDataErrorInfo interface. Steps to be carried out in ViewModel and Model classes: Add reference to System.ComponentModel namespace. Implement IDataErrorInfo interface in ViewModel and Model classes Create sub routine for checking validations on Fields in ViewModel and Model classes Sample Code in ViewModel class: Steps to be following in XAML: Set the ValidatesOnDataErrors property true for all the data entry controls. ...
I’ve been trying to wrap my head around the Grid in Silverlight/WPF today and decided that I’d share this with others. I made this diagram and the following xaml code snippet to remember how to position controls/etc in the grid. From looking at the image below, we have a 3x3 Grid that starts at 0. After you create a Grid, debugging is easier if you turn the ShowGridLines to true. Now its time to setup the RowDefinitions and ColumnDefinitions. We can create a button control now. You should pay special ...
In this Issue: Joseph Cooney, Matthias Shapiro, Ramani Sandeep, Andy Wigley(-2-), Chris Rouw, Michael Washington, Brian Noyes, Roger Peters, Sergey Barskiy, Timmy Kokke, and Phil Middlemiss. Shoutout: Koen Zwikstra announced Document Toolkit 2 Beta 2 available Rob Eisenberg announced Caliburn v1.1 Released! I missed this post by Andy Wigley of his material from TechEd: Programming Silverlight for Windows Embedded from .NET I hope you didn't miss the release of the Silverlight PivotViewer Control ...
Since today XamlResource.com is officially in beta. Its purpose is to create a platform to find and share resources for Silverlight and WPF, resources in the form of Xaml. Have a look around and if you run into issues, please let us know at xaml@hotmail.nl. Beta 1: In Beta 1 only a few of the final categories are supported: Colors; Resources of type SolidColorBrush Gradients; Resources of type GradientBrush Color sets; 2 to 5 resources of type SolidColorBrush Vectors; Resources of type StreamGeometry ...
OK, Lots of confusion around this pattern. I am also trying to wrap my head around this pattern and wanted to present what I have learned so far as well as my favorite links on the subject. I’m also working on a sample program that is from start-to-finish. Model View ViewModel is usually called: MVVM PresentationModel or just the plain ViewModel It is just an architectural pattern for Silverlight of WPF. It is designed to allow Designers to focus on the user experience instead of the business logic. ...
I am using this blog to assist other beginner/intermediate developers with anything that deals with developing software. I also use this blog to help myself remember things or ideas. This is the first blog post on several ideas that I have using WPF and would like to share with the community. Some of my ideas may be crazy or far-fetched but I would like to think of myself as a little strange anyways. This post is about using the FlowDocument to create an “About” box. First, an overview straight from ...
In this Issue: Colin Eberhardt, Kunal Chowdhury, Victor Gaudioso, Joe Gershgorin, Nick Gravelyn, Teresa Burger, Kyle McClellan, Karl Shifflett, and Jesse Liberty. Shoutout: Check out Pete Brown's interview with Jeff Handley, Deepesh Mohnani, and Dinesh Kulkarni: Pete at Microsoft: WCF RIA Services Team Interview Andy Beaulieu has a sneak preview video up: Boss Launch 2: Zombie Attack for WP7 Matt Hidinger has a preview video up about his WP7 app as well: BusTrack Windows Phone 7 App From SilverlightCream.com: ...
As you begin your WPF journey, you will have many frustrations with learning XAML. The three WPF control listed here were the things that frustrated me the most and I hope this helps someone out there. 1) Content controls such as the button can contain only a single nested element. But you can easily get around this with adding a StackPanel. Not allowed! Allowed! 2) Suppose you want to create a Mnemonic Keys and you are familiar with WinForms. Your first thought it to use “&Click Me”. In XAML, ...
In this tutorial, we are going to configure the application/user settings in a WPF application the easy way. Most example that I’ve seen on the net involve the ConfigurationManager class and involve creating your own XML file from scratch. I am going to show you a easier way to do it. (in my humble opinion) First, the definitions: User Setting – is designed to be something specific to the user. For example, one user may have a requirement to see certain stocks, news articles or local weather. This ...
If you’re a developer in the New York City area, please check out Devs For Wendy, benefitting Wendy Friedlander and her family… Wendy is a 30 year old software agilista from Long Island. She's a strong WPF developer and a firm believer in the agile method of development including pair programming and TDD. Wendy is wife and mother of a beautiful girl named Kaylee who will be 2 in August. In August of 2009 Wendy learned that she had a rare and agressive pediatric cancer called aveolar rhabdomyosarcoma. ...
In this Issue: Zoltan Arvai, Emiel Jongerius, Charles Petzold, Adam Kinney, Deepesh Mohnani, Timmy Kokke, and Damon Payne. Shoutouts: Andy Beaulieu reported his Coding4Fun: Shuffleboard Game for WP7 has been posted -- Big ol' Tutorial and 6 videos of WP7 goodness Karl Shifflett announced Three New WPF and Silverlight Designer Videos Posted Charles Petzold has a cool Flip-Number Clock in Silverlight posted... cool demo, and the source. From SilverlightCream.com: Data Driven Applications with MVVM ...
I did a recent post on implementing WPF with F#. Today I would like to expand on this posting to give a simple implementation of the MVVM pattern in F#. A good read about this topic can also be found on Dean Chalk’s blog although my example of the pattern is possibly simpler. With the MVVM pattern one typically has 3 segments, the view, viewmodel and model. With the beauty of WPF binding one is able to link the state based viewmodel to the view. In my implementation I have kept the same principles. ...
Intro This is the first in a series of small articles about what is new in Silverlight 4 and Expression Blend 4. The series is build around a open source demo application SilverAmp which is available on http://SilverAmp.CodePlex.com. MVVM Project and Item Templates Expression Blend has got a new project template to get started with a Model-View-ViewModel project easily. The template provides you with a View and a ViewModel bound together. It also adds the ViewModel to the SampleData of your project. ...
Register now at http://www.stlouisdayofdotn... The Date This year's conference will be held on Friday and Saturday, August 20-21, 2010, at the Ameristar Conference Center in St. Charles, Missouri. Sessions will begin at 8:00 a.m. and run through 4:30 p.m. on both days. Registration and sign-in will open at 7:00 a.m. on Friday morning, and will run throughout the event. The Venue Based on the almost unanimous feedback from last year's event, we are very excited to bring our conference ...
WPF measures all elements in device independent pixels (DIPs). These DIPs equate to device pixels if the current display monitor is set to the default of 96 DPI. However, for monitors set to a DPI setting that is different than 96 DPI, then WPF DIPs will not correspond directly to monitor pixels. Consider, for example, the WPF properties SystemParameters.PrimaryScr... and SystemParameters.PrimaryScr... If your monitor resolution is set to 1024 pixels wide by 768 pixels high, and your ...
While ASP.NET provides an event base approach it is completely dismissed when working with AJAX and the richness of the server is lost and replaced with JavaScript programming and couple with a very high security risk. Visual WebGui reinstates the power of the server to AJAX development and provides a statefull yet scalable, server centric architecture that provides the benefits and user productivity of AJAX with the security and developer productivity we had before AJAX stormed into our lives. "When ...
In this Issue: Michael Washington, Diego Poza, Viktor Larsson, Brian Noyes, Charles Petzold, Laurent Bugnion, Anjaiah Keesari, David Anson, and Jeremy Likness. From SilverlightCream.com: My MEF Rant Read Michael Washington's discussion about MEF from someone that's got some experience, but not enough to remember the pain points... how it works, and what he'd like to see. Prism 4: What’s new and what’s next Diego Poza Why Office Hub is important for WP7 Viktor Larsson has another WP7 post up and he's ...
In this Issue: Emiel Jongerius, Nokola, Christian Schormann, Tim Heuer, David Poll, Mike Snow(-2-), John Papa, and Charles Petzold. Shoutout: Viktor Larsson has a frank look at WP7 based on information from MIX10 and what was said this week in his post: Licking Windows Phone 7... yeah licking, not liking :) .. my guess is even that didn't allow him to keep it! If you haven't already noticed, the CodeProject reader's choice awards are out this week and Telerik won for their RadColorPicker and RadCalendar ...
I was listening to Dot Net Rocks show #560 about F# and during the podcast Richard Campbell brought up a good point with regards to F# and a GUI. In essence what I understood his point to be was that until one could write an end to end application in F#, it would be a hard sell to developers to take it on. In part I agree with him, while I am beginning to really enjoy learning F#, I can’t but help feel that I would be a lot further into the language if I could do my Windows Forms like I do in C# ...
FredNUG is pleased to announce our June speaker will be Pete Brown. Pete was one of FredNUG’s first speakers when the group started and we’re very happy to have him visiting us again to present on Silverlight! On June 15th @ 6:30 PM, we’ll start with a Visual Studio 2010 Launch with pizza, swag and a presentation about what makes Visual Studio 2010 great. Then, starting at 7 PM, Pete Brown will present “What’s New in Silverlight 4.” It looks like an evening filled with newness! The scheduled agenda ...
In this Issue: Miroslav Miroslavov, Chris Klug, Beau, Christian Schormann(-2-), Dan Wahlin, Pete Brown, Michael S. Scherotter, Philipp Sumi, Andy Wigley, and Phil Middlemiss. Shoutouts: Mark Tucker set about learning Caliburn, and in the process is writing a Caliburn Book: Chapters 1-3 Jesse Liberty has a great link-laden post up about why we should all be learning/using Blend: Why Developers Should, Must, Do Care About The New Expression Blend be sure to read what he says about WP7 development, ...
When you work with the ApplicationBar in Windows Phone 7, you notice very fast that it is not quite a component like the others. For example, the ApplicationBarIconButton element is not a dependency object, which causes issues because it is not possible to add attached properties to it.Read the rest of this entry » ...
I love new toys, so of course when .NET 4.0 came out I felt like the proverbial kid in the candy store! Now, some people get all excited about the IDE and it’s new features or about changes to WPF and Silver Light and yes, those are all very fine and grand. But me, I get all excited about things that tend to affect my life on the backside of development. That’s why when I heard there were going to be concurrent container implementations in the latest version of .NET I was salivating like Pavlov’s ...
In this Issue: Brian Genisio, Michael Washington, Fons Sonnemans , Don Burnett, Xianzhong Zhu, Mike Snow, Jesse Liberty, Victor Gaudioso, David Kelley(-2-), and Matias Bonaventura . Shoutout: Anoop has a good post up: MEF or Managed Extensibility Framework and Lazy – Being Lazy with MEF, Custom Export Attributes etc Jesse Liberty's got a good post up if you are just Getting Started With Silverlight: A Path Through The Learning Material John Papa reports Updates and New Home for Sticky Plugin Tim ...
More Adventures in MVVM In this post, I am going to explore how I prefer to attach ViewModels to my Views. I have published the code to my ViewModelSupport project on CodePlex in case you'd like to see how it works along with some examples. Some History My approach to View-First ViewModel creation has evolved over time. I have constructed ViewModels in code-behind. I have instantiated ViewModels in the resources sectoin of the view. I have used Prism to resolve ViewModels via Dependency Injection. ...
In this Issue: Ben Hodson, Fons Sonnemans, SilverLaw, Mike Snow, John Papa, René Schulte, Walt Ritscher, and David Anson. Shoutouts: René Schulte announced a whole batch of new features for WriteableBitmap that are now available: Filled To The Bursting Point - WriteableBitmapEx 0.9.5.0 Check out John Papa's Sticky Seesmic Desktop Plugin ... download it, play with it... he's going to blog about building plugins later Tim Heuer reported a Silverlight 4 minor update–June 2010 Erik Mork and Crew have ...
I am currently working on a multi-touch application using WPF. One thing that has been irritating me with this development is an automatic navigation forward/back command that is bound to forward and backwards flicks. Many of my touch-based interactions were being thwarted by gestures picked up by WPF as navigation. I just wanted to disable this behavior. My programmatic back/forward calls are not affected by this change, which is nice. Here is how I did it: In my main window, I added the following ...
Garage Sale Code The term “Garage Sale Code” came from a post by Scott Hanselman. He defines Garage Sale Code as: Complete – It’s a whole library or application. Concise – It does one discrete thing. Clear – It’ll work when you get it. Cheap – It’s free or < 25 cents. (Quite Possibly) Crap – As with a Garage Sale, you’ll never know until you get it home if it’s useless. With the code I’ve posted here, you’ll get all 5 of those things (with an emphasis on crap). All of the projects listed below ...
In this Issue: Matthias Shapiro, Colin Blair(-2-), Mike Snow, Marlon Grech, Victor Gaudioso. Shoutout: If you're going to be anywhere near Mission Viejo, California on June 19th, set your calendar for this Victor Gaudioso event: New Speaking Event: Microsoft Book Signing/Silverlight 4 Presentation SilverLaw has another example of his Flexible surface app up: Drag & Drop Flexible Surface - Silverlight 4 From SilverlightCream.com: Silverlight 4 Binding and StringFormat in XAML Matthias Shapiro ...
In this Issue: Phil Middlemiss, Max Paulousky, Jeff Wilcox, David Anson, René Schulte, Xianzhong Zhu, Jeff Handley, John Papa, Jeremy Likness, and Marlon Grech. Shoutouts: SilverLaw has a great demo at the Expression Gallery, and we're all going to look forward to the blog post explaining it: Flexible Surface Effect SilverLaw> has another use for the above in this text morphing Effect: Morphing Text Effect Matthias Shapiro contributed a chapter for a book on Visualization and it's available as ...
You can reach this page anytime at http://tools.michaelcrump.net Thanks to everyone that has contributed so far, we are getting several thousands hits from all sorts of developers a day. Recent Contributors include: Deependra Solanky, Grant, Klaus, James, BlueCollarCritic and Bob Koehn Tweet this list! Add a link to my site! Add me to twitter! This is a list of the tools/utilities that I use to do my job/hobby. I wanted this page to load fast and contain information that only you care about. If I ...
Recently I surfaced a problem where, one of my friend had a tough time in getting rid of an assembly reference error. Despite adding reference to the assembly, while referencing it in code, it was spitting out the “The type or namespace name ‘ASSEMBLYNAME’ could not be found” error. This was a migration project and owing to the above error, it was throwing another 100 errors. We tried adding reference to the assembly in other projects and it was not even resolving the namespace while typing out in ...
The code and slides from my Developing WPF Applications using Model-View-ViewModel session at Richmond Code Camp can be found HERE. During the session, a number of the attendees had some really great questions which tells me they’re really thinking about how to start using MVVM in their own apps. I’ll be interested to hear feedback as they start investigating and introducing MVVM in their applications. If you experience any problems downloading the slides or code, please let me know ...
Colleague, friend and generally top guy on IronRuby Edd Morgan has just been published over on InfoQ. To wet the appetite… a snippet or three. IronRuby for Rubyists IronRuby is Microsoft's implementation of the Ruby language we all know and love with the added bonus of interoperability with the .NET framework — the Iron in the name is actually an acronym for 'Implementation running on .NET'. It's supported by the .NET Common Language Runtime as well as, albeit unofficially, the Mono project. You'd ...
A new .NET User Group is starting up in Canary Wharf - CWDNUG. It plans to focus on technology for financial services such as: WPF & Silverlight. F# & other alternative languages. High volume systems & complex event processing. Agile tools, methodologies and experiences. Open source systems that you can use (or that need your help!). Upcoming releases from Microsoft (WP7, VS2010, TPL). The first meeting is on June 2nd and Marlon (WPF MVP) will be speaking about MEF. Register today as ...
An interesting question from one of the MVVM Light users today: Is there an MVVM-friendly way to get a DataGrid’s SelectedItems into the ViewModel? The issue there is as old as the DataGrid (that’s not very old but still): SelectedItem (singular) is a DependencyProperty and can be databound to a property in the ViewModel. SelectedItems (plural) is not a DependencyProperty. Thankfully the answer is very simple: Use EventToCommand to call a Command in the ViewModel, and pass the SelectedItems collection ...
Continuing part 2 of my Stepping outside the Visual Studio IDE, is the open-source Mono Project. Mono is a software platform designed to allow developers to easily create cross platform applications. Sponsored by Novell (http://www.novell.com/), Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become ...
In this Issue: Victor Gaudioso, Antoni Dol(-2-), Brian Genisio, Shawn Wildermuth, Mike Snow, Phil Middlemiss, Pete Brown, Kirupa, Dan Wahlin, Glenn Block, Jeff Prosise, Anoop Madhusudanan, and Adam Kinney. Shoutouts: Victor Gaudioso would like you to Checkout my Interview with Microsoft’s Murray Gordon at MIX 10 Pete Brown announced: Connected Show Podcast #29 With … Me! From SilverlightCream.com: New Silverlight Video Tutorial: How to Create Fast Forward for the MediaElement Victor Gaudioso's latest ...